Hi all, To do paged queries on a query like
SELECT colVal FROM t WHERE b=? LIMIT 10 I keep track of column values and construct a query that will get the next item in a query by augmenting the query like SELECT colVal FROM t WHERE b=? AND colVal > ? LIMIT 10 To know how many rows there are in the query, I do SELECT COUNT(*) FROM t WHERE b=? Are there any efficiency tricks here? Is it better to run the count before the query or vice versa? Thanks, Wout. _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users