On 12/27/2011 12:17 PM, Bo Peng wrote:
sqlite selects all ids before it uses B-TREE for DISTINCT. Is there a way to tell sqlite to return an id when it founds the first range that the id falls into?
Without a temporary set to store the IDs it has already retrieved, how do you expect SQLite to figure out whether a given range is in fact the first one a given ID falls into?
-- Igor Tandetnik _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users