-
What does comparing a known value with NULL result into?
-
- a negative value
- null
- zero
- a positive value
- None of these
Correct Option: B
In MySQL, NULL is not comparable to other known values. It will result in a NULL when compared to any value. The following statement would result in four NULLs: ‘SELECT NULL = 0, NULL < 0, NULL <> 0, NULL > 0’.