-
rownum
SELECT * FROM (SELECT ROWNUM r, s.*FROM PDD.ORDER_CASH sWHERE ROWNUM <= 20 ) WHERE r >= 1;
-
BETWEEN
SELECT * FROM ( SELECT ROWNUM r, s.* FROM PDD.ORDER_CASH s ) WHERE r BETWEEN 1 AND 20;
-
OFFSET FETCH
SELECT d.* FROM DONORINFO d WHERE d.BIRTHDAY BETWEEN TO_DATE('19800101', 'yyyymmdd') AND TO_DATE('20060731', 'yyyymmdd') ORDER BY d.BIRTHDAY DESC OFFSET 10 ROWS FETCH NEXT 10 ROWS ONLY;