Loading lesson path
Concept visual
Start at both ends
Return the smallest integer value that is greater than or equal to 25.75:
SELECT CEILING(25.75);The CEILING() function returns the smallest integer value that is bigger than or equal to a number.
This function is equal to the CEIL() function.
number )
Required. A numeric value
From MySQL 4.0
Return the smallest integer value that is greater than or equal to 25:
SELECT CEILING(25);❮ MySQL Functions