SQLite Forum

Bug Report: Under some conditions NULL isn't NULL.
Login
FWIW, the SQL from that Query-Flatting doc you link to looks weird.  
I hesitate to write *incorrect*, since I'm no expert, but `WHERE="1"`  
and `AND="1"` look suspicious to me. Wasn't the LHS of the = omitted?