select a.* from table a limit 5,10;查询6-15
select a.* from table a limit 10, -1;查询11-last
select a.* from table a limit 10;查询前十条
oracle
select * from (select rownum as rn, t.* from table as t where rownum < 10) as emp where emp.rn > 5;查询6-10
select a.* from table a limit 5,10;查询6-15
select a.* from table a limit 10, -1;查询11-last
select a.* from table a limit 10;查询前十条
oracle
select * from (select rownum as rn, t.* from table as t where rownum < 10) as emp where emp.rn > 5;查询6-10