sql描述:id为主键(主键索引)

1 select * from table a,(select id from table limit 1000000,10) b where a.id=b.id

如果有查询条件可与id关联生成组合索引

posted on 2020-04-25 17:34  来临  阅读(551)  评论(0)    收藏  举报