โ‰ˆ the.bay.news

Why SQL NOT IN returns no rows when the column has NULL

DEV Community
Why SQL NOT IN returns no rows when the column has NULL
A tiny SQLite demo of the three-valued logic trap: one NULL in a NOT IN list can wipe every row. Fixes with IS NOT NULL, NOT EXISTS, and a LEFT JOIN.

0 comments

Sign in to join the discussion โ€” your thebay.events account works here.

No comments yet.