Advertisement
Guest User

Untitled

a guest
Sep 30th, 2016
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. edb=# select 1/3;
  2. ?column?
  3. ------------------------
  4. 0.33333333333333333333
  5. (1 row)
  6.  
  7. edb=# select 1::int/3::int;
  8. ?column?
  9. ------------------------
  10. 0.33333333333333333333
  11. (1 row)
  12.  
  13. edb=# select 1::bigint/3::bigint;
  14. ?column?
  15. ----------
  16. 0
  17. (1 row)
  18.  
  19. edb=# select 1::smallint/3::smallint;
  20. ?column?
  21. ----------
  22. 0
  23. (1 row)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement