http://www.sqlite.org/tempfiles.html , in section "2.7 Materializations Of Views And Subqueries", says:
"The rules for when a query and cannot be flattened are very complex and are beyond the scope of this document. " That should probably read, "...when a query _can_ and cannot be flattened...". Cheers, Philip -- Philip Newton <philip.new...@pobox.com> _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users