All issues
Anti-pattern
Bug risk
Coverage
Documentation
Performance
Secrets
Security
Style
Type check
NULL
Comparisons with NULL should use “IS” or “IS NOT”.
In this example, the = operator is used to check for NULL values.
=
SELECT a FROM foo WHERE a = NULL
SELECT a FROM foo WHERE a IS NULL