SQLite Forum

Help rewriting a query to match the speed of a 2nd query
Login
You probably want to get rid of the "OR b.InsertDate IS Null" since it makes zero sense being in the correlate.