Integer division: DIV : DIV « Math Numeric Functions « MySQL Tutorial






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

mysql>








21.16.DIV
21.16.1.Integer division: DIV