Skip to content

MOD

  • n: This indicates the dividend. It is the number that is to be divided.
  • m: This refers to the divisor. It is the number by which the dividend (N) is to be divided.
SELECT MOD(10, 3);
1

The MOD function returns the remainder of a division. In this example, the division of 10 by 3 leaves a remainder of 1, which is the output.