怎样理解limit优化
# limit 默认以主键进行排序
# 如果有order by 以 orderby的内容作为排序
#如果 没有order by 以sql的索引排序规则为 limit 排序
select id,title from collect limit 90000,10;
select id,title from collect where id>=(select id from collect order by id limit 90000,1) limit 10;
# limit 默认以主键进行排序
# 如果有order by 以 orderby的内容作为排序
#如果 没有order by 以sql的索引排序规则为 limit 排序
select id,title from collect limit 90000,10;
select id,title from collect where id>=(select id from collect order by id limit 90000,1) limit 10;