CEIL(x) 用于返回不小于 x 的最小整数值
mysql> SELECT CEIL(-3.35), CEIL(3.35);
+-------------+------------+
| CEIL(-3.35) | CEIL(3.35) |
+-------------+------------+
| -3 | 4 |
+-------------+------------+
时间: 2024-12-07 23:16:04