//记录之前的最大id,传过来 select * from orders_history where id >= 1000001 limit 100;
SELECT * FROM product WHERE ID > =(select id from product limit 866613, 1) limit 20
SELECT * FROM product a JOIN (select id from product limit 866613, 20) b ON a.ID = b.id
//记录之前的最大id,传过来 select * from orders_history where id >= 1000001 limit 100;
SELECT * FROM product WHERE ID > =(select id from product limit 866613, 1) limit 20
SELECT * FROM product a JOIN (select id from product limit 866613, 20) b ON a.ID = b.id