📞 0339-0387701 (WhatsApp) Contact

« Back to Database & Data Handling (NCCIA)

In a WHERE clause, rows where the condition evaluates to UNKNOWN are:

A. Excluded ✅
B. Returned with a warning
C. Included
D. Included only if the column is NULL

Correct Answer: A. Excluded

Explanation

  • WHERE keeps only rows where the condition is TRUE; UNKNOWN rows are filtered out.
  • This is why NULL comparisons can silently drop rows.