ORACLE分页查询

SELECT * FROM ( 
  SELECT A.*, ROWNUM RN 
    FROM (SELECT * FROM HC_PERSON_CLI_GS) A 
  WHERE ROWNUM <= 40 ) 
WHERE RN >= 21

 最有效率的ORACLE分页

 

http://www.cnblogs.com/Ronger/archive/2012/05/14/2498971.html

你可能感兴趣的:(oracle)