English

What will be the result of the following SQL query? SELECT MOD(5, 6); - Informatics Practices

Advertisements
Advertisements

Question

What will be the result of the following SQL query?

SELECT MOD(5, 6);

Options

  • 3

  • 5

  • 6

  • 0

MCQ
Advertisements

Solution

5

Explanation:

MOD(5, 6) returns the remainder when 5 is divided by 6.
Since 6 is greater than 5, the remainder is 5.
Hence, the result is 5

shaalaa.com
  Is there an error in this question or solution?
2025-2026 (March) Board Sample Paper
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×