Oracle - paging query

. 1  the SELECT  *  the FROM (
 2  
. 3      the SELECT A. * , RN ROWNUM the FROM (
 . 4      
. 5          the SELECT  *  the FROM table_name
 . 6          
. 7      ) A the WHERE ROWNUM <=  [ the Number of this page for each page displayed * ] 
. 8      
. 9 ) the WHERE RN >  [ ( current page 1) * number of displayed per page ]

Guess you like

Origin www.cnblogs.com/mpci/p/11205006.html