...
And the actual query with Paging is done like -
Code Block | ||
---|---|---|
| ||
Query with paging SELECT EMP_ID, EMP_NAME, EMP_AGE FROM EMPLOYEES WHERE <COL 1> like '%filter%' –- and so on AND ROWNUM < endRowOfPage and ROWNUM > startRowOfPage ORDER BY <COL1> ASC, <COL 2> DESC –- and so on |
...