MySQL Tutorial/Math Numeric Functions/DIV
Integer division: DIV
<source lang="sql">
mysql> mysql> SELECT 5 DIV 2; +---------+ | 5 DIV 2 | +---------+ | 2 | +---------+ 1 row in set (0.00 sec) mysql></source>
<source lang="sql">
mysql> mysql> SELECT 5 DIV 2; +---------+ | 5 DIV 2 | +---------+ | 2 | +---------+ 1 row in set (0.00 sec) mysql></source>