Loading lesson path
Concept visual
Start at both ends
SELECT MOD(18, 4);The MOD() function returns the remainder of a number divided by another number.
x, y )
x
y
x % y
Required. A value that will be divided by y y Required. The divisor
From MySQL 4.0
SELECT 18 MOD 4;SELECT 18 % 4;❮ MySQL Functions