Identify the output value (ignoring the output header) of the MySQL query:…
2023
Identify the output value (ignoring the output header) of the MySQL query:
SELECT 6 MOD 20
- A.
3
- B.
6
- C.
20
- D.
2
Attempted by 1945 students.
Show answer & explanation
Correct answer: B
MOD returns the remainder. Since 6 < 20, the remainder of 6 MOD 20 is 6.
A video solution is available for this question — log in and enroll to watch it.