J
jeremy
Video
NULL and Three-Valued Logic in SQL and Why Comparisons Silently Drop Rows
SQL's NULL denotes *unknown* — not blank, not zero, not empty — and consequently SQL evaluates predicates in a three-valued logic over {TRUE, FALSE, UNKNOWN} rather than Boolean two-valued logic. Any…