Oracle分頁查詢

About Oracle paged inquired sql,to everybody share share......

eg:

select * from (select a.*,rownum rn from (select * from prod) a where rownum <=(currentpage*5)) where rn >(currentpage-1)*5;

 

thx~

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章