On Sat, Mar 15, 2008 at 4:21 PM, mark <markkicks@xxxxxxxxx> wrote:
select * from users where session_key is not Null order by id offset OFFSET limit 300
One solution is to retain the last ID from the previous scan:SELECT *FROM UsersWHERE session_key IS NOT NULLAND id > your_last_idLIMIT 300;
will this ensure that no row is repeated when i itereate over the table? what are the rows ordered by?
thanks