Oracle分页
select * from t_account
--分页 rownum只能从索引一开始
select rownum,t.* from t_account t where rownum <= 10
--分页 使用子查询
select * from (select rownum r,t.* from t_account t where rownum <=20 order by t.usenum desc) r where r > 10
-- 分页
select a.* from(select rownum r,t.* from (select * from t_account order by usenum desc) t) a where a.r between 11 and 22