SQL FLOOR(X)函数
FLOOR(X)
该函数返回的最大整数但不大于X的值.
SQL>SELECT FLOOR(7.55); +---------------------------------------------------------+ | FLOOR(7.55) | +---------------------------------------------------------+ | 7 | +---------------------------------------------------------+ 1 row in set (0.00 sec)