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