Skip to content

Instantly share code, notes, and snippets.

@alikrc
Created July 12, 2018 06:42
Show Gist options
  • Save alikrc/28c2c71cc574437f84d90bd1fa356758 to your computer and use it in GitHub Desktop.
Save alikrc/28c2c71cc574437f84d90bd1fa356758 to your computer and use it in GitHub Desktop.
Find largest and smallest values of an integer which is less greater or equal.
SELECT FLOOR(25.9); --25
SELECT CEILING(25.1); --26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment