Mega Code Archive

 
Categories / MySQL Tutorial / Math Numeric Functions
 

Integer division

mysql> mysql> SELECT 5 DIV 2; +---------+ | 5 DIV 2 | +---------+ |       2 | +---------+ 1 row in set (0.00 sec) mysql>