Skip to content

EasyConceptAdvanced SQL

Why does WHERE column = NULL return nothing?

What a good answer covers

NULL means unknown, so any equality comparison with it is unknown rather than true. Use IS NULL or IS NOT NULL, or IS NOT DISTINCT FROM where supported.

More on Advanced SQL

Flashcards for this topic