You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for reporting this. In SQL, a = null is never true, because NULL is not equal to anything, not even NULL. SQLite returns no rows for this query too, and AlaSQL follows SQLite, so we will keep this behaviour. To find the rows where a is null, use WHERE a IS NULL.
Activity
mathiasrw commentedon Nov 18, 2015
There is a syntax workaround:
find a = null:
WHERE NOT afind a = abc:
WHERE a != nullhttps://jsfiddle.net/7u1fxbq3/
mathiasrw commentedon Oct 21, 2026
Thank you for reporting this. In SQL,
a = nullis never true, because NULL is not equal to anything, not even NULL. SQLite returns no rows for this query too, and AlaSQL follows SQLite, so we will keep this behaviour. To find the rows whereais null, useWHERE a IS NULL.