SQL 2023 · Querying

Check for NULL

Compare with IS NULL, because = NULL is never true.

SELECT * FROM users WHERE deleted_at IS NULL;

Official SQL 2023 documentation

More querying commands

All querying commands · SQL 2023 cheatsheet

Was this page helpful?