MOD()
This page is part of MariaDB's Documentation.
The parent of this page is: Functions for MariaDB Enterprise Server
Topics on this page:
Overview
Returns the remainder of N divided by M. See also Modulo Operator.
EXAMPLES
SELECT MOD(12345,10),MOD(30,6);
+---------------+-----------+
| MOD(12345,10) | MOD(30,6) |
+---------------+-----------+
| 5 | 0 |
+---------------+-----------+
CHANGE HISTORY
EXTERNAL REFERENCES
Additional information on this topic may be found in the MariaDB Public Knowledge Base.