/* mysql> select MOD(2, 3); +-----------+ | MOD(2, 3) | +-----------+ | 2 | +-----------+ 1 row in set (0.00 sec) mysql> select 3 % 2; +-------+ | 3 % 2 | +-------+ | 1 | +-------+ 1 row in set (0.00 sec) */ select MOD(2, 3); select 3 % 2;