Skip to content

SQL Reference

REMAINDER

  • n1: The dividend.
  • n2: The divisor. The result is n1 - n2 * N where N is the integer nearest n1 / n2.
SELECT REMAINDER(10, 3) FROM dual;
1

The REMAINDER function in Oracle is used to return the remainder of a division operation between two numbers. In this case, 3 divides into 10 three times with one left over. So the output of the function REMAINDER(10, 3) is 1.