This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
dev:sql:functions:floor [2010/07/09 04:27] els created |
dev:sql:functions:floor [2016/06/28 22:38] (current) |
||
---|---|---|---|
Line 20: | Line 20: | ||
<code> | <code> | ||
- | > select floor(latitude) from countries; | + | > select latitude, floor(latitude) floor_lat from countries; |
- | + | ||
- | TO BE COPIED | + | |
+ | LATITUDE FLOOR_LAT | ||
+ | -------------------------------- ---------------------- | ||
+ | 42.500000 42 | ||
+ | 24.000000 24 | ||
+ | 33.000000 33 | ||
+ | 17.049999 17 | ||
+ | 18.209999 18 | ||
+ | 41.000000 41 | ||
+ | 40.000000 40 | ||
</code> | </code> | ||
+ | ====== Additional Resources ====== | ||
+ | |||
+ | See also: | ||
+ | {{page>dev:sql:functions:see_also_math&noheader&nofooter&noeditbtn}} | ||
+ | |||
{{page>:bottom_add&nofooter&noeditbtn}} | {{page>:bottom_add&nofooter&noeditbtn}} | ||