``` var data = [{ dep: 'A', qt: 10, price: 5}, { dep: 'A', qt: 5, price: 2.30 }, { dep: 'B', qt: null, price: 2.20 }]; var res1 = alasql('SELECT * FROM ? WHERE qt is null',[data]); ``` The above piece of code is returning `[]`. Here's a [jsfiddle](https://jsfiddle.net/344r66ds/) that demonstrates the problem. Similarly, `is not null` is including the row with null value.
Activity
mathiasrw commentedon Nov 18, 2015
Thank you for a good description
I beleave its same problem as #368
@agershun any inputs?
Update: Found a syntax workaround !
https://jsfiddle.net/7u1fxbq3/
snarayanank2 commentedon Nov 18, 2015
Ah thanks! I worked around the problem by creating a user defined function that does the null check. Would be nice to see this fixed, though.
mathiasrw commentedon Nov 19, 2015
@snarayanank2 Totally agree !
mathiasrw commentedon Oct 21, 2026
Is confirmed working in v4.20.1