Mega Code Archive

 
Categories / MySQL / Math
 

Modulus operator

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