Floor Function in SQL
Level 118 keystrokes
FLOOR function rounds a number down to the nearest integer.
SQL code
-- FLOOR always rounds down to the next lower integer-- 4.9 becomes 4 (ROUND would give 5)1SELECT FLOOR(4.9);Output
+------------+ | FLOOR(4.9) | +------------+ | 4 | +------------+ 1 row in set
Practice typing this code. Results are not recorded in the rankings.
Symbols in this code
The symbols you type in this SQL code and how often they appear.
;× 1.× 1(× 1)× 1