Answer: C
Given: Any comparison involving NULL is treated as FALSE.
Consider option C:
x ≠ 5 vs NOT(x = 5)
If x = NULL:
x ≠ 5 → FALSE
x = 5 → FALSE
NOT(x = 5) → NOT(FALSE) → TRUE
Thus,
x ≠ 5 ≠ NOT(x = 5)
So, these two expressions are NOT equivalent.
Check other options:
- A: x = 5 and NOT(NOT(x = 5)) are equivalent.
- B: For integer x, x = 5 and (x > 4 AND x < 6) are equivalent. For NULL, both evaluate to FALSE.
Therefore, the correct answer is:
C. x ≠ 5 and NOT(x = 5)