How to display page wise records in Oracle Database?

382 Views Asked by At

I have one table with name emp with columns id, name, address. I want SELECT records first 10 and then next 10 and so on depends on the variable. Please let me know how can I achieve this?

1

There are 1 best solutions below

8
Sachin Padha On BEST ANSWER

You can use below SELECT statement:

SELECT * FROM EMP where rownum between 1 and 10;

You can use 1 and 10 as two variables and replace it dynamically.