函数说明
ceiling(x) - Find the smallest integer not smaller than x复制
ceiling(x) - Find the smallest integer not smaller than x
案例:
select ceiling(10.0),ceiling(10.1);复制
select ceiling(10.0),ceiling(10.1);
结果:
+------+------+| _c0 | _c1 |+------+------+| 10 | 11 |+------+------+复制
+------+------+
| _c0 | _c1 |
| 10 | 11 |