QUESTION 12 OF 15

Why does column = NULL not work as expected?

Reveal the answer and explore the explanation.

12
MediumHigh priority

Why does column = NULL not work as expected?

Answer
Answer

Represents missing or unknown information and participates in SQL three-valued logic.

Practical example

Use IS NULL rather than equality to find missing values.

Reference: Further reading ↗

Last 30 min revisionHigh-yield interview Q&As