Modulo operation (%): Returns the remainder of N divided by M. : Modulo « Math Numeric Functions « MySQL Tutorial






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

mysql>








21.25.Modulo
21.25.1.Modulo operation (%): Returns the remainder of N divided by M.