For the complete documentation index, see llms.txt. This page is also available as Markdown.

MOD

This section contains reference documentation for the MOD function.

Modulo of two values

Signature

MOD(col1, col2)

Usage Examples

select MOD(12, 5) AS value
from ignoreMe
value

2

select MOD(12, 2) AS value
from ignoreMe
value

0

Was this helpful?