A table has 150 records. How do you retrieve 100th row to
120th row from that table ?
Answer Posted / arif hussain
select * from (
select ROW_NUMBER() over (order by tablename.columnname)as ronno,* from tablename )x
where ronno between 100 and 120
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
When is the update_statistics command used?
Why sql query is slow?
What is the difference between having clause and where clause?
What is the purpose of design view?
What is number function in sql?
How is data stored on a disk?
What is the difference between left outer join and left join?
Can a varchar be a primary key?
What is primary key secondary key alternate key candidate key?
What are all the different normalization?
What is recursive stored procedure?
What is materialized view. What are different methods of refresh?
What are database links used for?
what is the difference between blob and text? : Sql dba
What is record in pl sql?