SQLite Forum

Unexpected results with IS NOT NULL
Login
Yes, the CREATE INDEX works in the sense that it always creates an
index.  But since the condition "V2 > NULL"is always NULL, no rows
are ever inserted into the index, and so the index is utterly useless.