While selecting some data from a sqlite db using the cli:
SELECT * FROM \'myData\' WHERE (StateCode != \'NULL\' AND IHV != \'NULL\');
I got:<