MySQL MOD() FunctionThe mod() is a Math function of MySQL. This function is used to get the remainder of given values. SyntaxParameter:n: number to be divided by m m: number that will divide n ReturnsThis function returns the remainder of n divided by m. Example 1Output: Example 2Output: Example 3Output:
Next TopicMySQL Math
|