About 1,680,000 results
Open links in new tab
  1. MySQL MOD () Function - W3Schools

    Definition and Usage The MOD () function returns the remainder of a number divided by another number. Syntax

  2. MOD() Function in MySQL - GeeksforGeeks

    Apr 24, 2023 · The MOD () function in MySQL is used to find the remainder of one number divided by another. The MOD () function returns the remainder of dividend divided by divisor. if the divisor is zero, it returns NULL. Syntax: MOD(N, M) or N % M or N MOD M Parameter : MOD () function accepts two parameter as mentioned above and described below.

  3. SQL MOD: Returns Modulus of a Number Divided by Another

    In this tutorial, you will learn how to use the SQL MOD function that returns the remainder of one number divided by another.

  4. SQL MOD () function - w3resource

    Apr 20, 2024 · MOD () is a mathematical function that calculates the remainder of the division of two numbers. In this case, MOD (-25,7) will return the remainder when -25 is divided by 7, which is 6. The result of the modulo operation, which is 6 in …

  5. MOD - Oracle Help Center

    MOD returns the remainder of n2 divided by n1. Returns n2 if n1 is 0. This function takes as arguments any numeric data type or any nonnumeric data type that can be implicitly converted to a numeric data type.

  6. MOD () in SQL: Examples, Use Cases & Error Handling

    What is MOD () in SQL? The MOD() function in SQL returns the remainder after dividing one number by another. It is commonly used for checking divisibility, cyclic operations, and …

  7. MySQL MOD () Function

    The MOD() function returns the remainder of the dividend divided by the divisor. If the dividend or divisor is NULL, the MOD () function returns NULL. Also, if the divisor is zero, the …

  8. Unlocking the Power of the Mod Function in SQL - TheLinuxCode

    Dec 27, 2023 · Have you ever needed to grab the remainder from a division operation in SQL? If so, the MOD() function is your new best friend. While mod may seem straightforward on the surface, mastering this versatile tool can strengthen your database scripting skills in …

  9. MOD — SQL Function Reference

    Find out how the MOD function works in MySQL. Returns the remainder of a division.

  10. Mastering the MOD Function in SQL: A Comprehensive Guide to …

    Jun 12, 2024 · The MOD function, a staple in numerical computation, is integral to performing modular arithmetic in SQL. This function returns the remainder of one number divided by another, proving essential for tasks that involve periodicity, such as rotating shifts or payment cycles.

  11. Some results have been removed