例如查询中间第10行到15000行,语句如下:
select * from titles where 10=10 limit 15000;
若要查询第20行到100行,其语句为:
select * from titles where 20=20 limit 100;
SQL查询的艺术:范围限制与行号操作
例如查询中间第10行到15000行,语句如下:
select * from titles where 10=10 limit 15000;
若要查询第20行到100行,其语句为:
select * from titles where 20=20 limit 100;
2418
477
535
1440

被折叠的 条评论
为什么被折叠?