oracle分頁與rownum

oracle分頁時,最經常使用的3層嵌套: select b.* from ( --第二層:給定行號 select rownum r,a.* from ( --第一層:排序 select * from 表 order by 字段 ) a where rownum<=最大行 )b where b.r>=最小行 最內層Select的用處:
相關文章
相關標籤/搜索