Programming · Flashcard
What does the condition WHERE price = NULL match?
Why this is the answer
Comparing anything to NULL yields unknown, and WHERE keeps only rows where the condition is true — so = NULL silently matches nothing rather than erroring, which is what makes it a hard bug to spot. IS NULL is the test that works.
Read more in the docs