ExamVeda
Login
Home
This question belongs to MySQL MySQL Miscellaneous
MySQL Miscellaneous
?

What does comparing a known value with NULL result into?

Answer & Solution
Correct Answer: Option D
This question is about how MySQL handles comparing a value with NULL. Remember, NULL in databases means "unknown" or "missing" value.

When you compare a known value (like a number or text) with NULL, the result is always NULL. This is because you can't really determine if an unknown value is equal to, greater than, or less than something known.

So, the correct answer is Option D: null.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.