A table has 150 records. How do you retrieve 100th row to
120th row from that table ?
Answer Posted / jayanth
select * from (select a.*, row_number() over (order by empno) rn from emp a) where rn between 100 and 120;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is pl sql block structure?
What is a record in a database?
How do I find duplicates in a single column in sql?
what does the t-sql command ident_incr does? : Transact sql
How to read xml file in oracle pl sql?
What are the two different parts of the pl/sql packages?
what is union? : Sql dba
How to order siblings in oracle hierarchy queries?
What does select top 1 do in sql?
how to create a new table by selecting rows from another table in mysql? : Sql dba
what are different types of keys in sql?
What are the differences between in and exists clause?
how to drop an existing table in mysql? : Sql dba
Why do we need cursor in pl sql?
Can we connect to postgresql using sql developer?