All pages
Powered by GitBook
1 of 1

Loading...

Modulo Operator (%)

Syntax

N % M

Description

Modulo operator. Returns the remainder of N divided by M. See also .

Examples

See Also

This page is licensed: GPLv2, originally from

SELECT 1042 % 50;
+-----------+
| 1042 % 50 |
+-----------+
|        42 |
+-----------+
MOD
Operator Precedence
fill_help_tables.sql