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
Does normalization improve performance?
how many ways to get the current time? : Sql dba
What are the two different parts of the pl/sql packages?
How to select 10 records from a table?
What is the purpose of a secondary key?
Write the order of precedence for validation of a column in a table? I. Done using database triggers. Ii. Done using integarity constraints
Why do we need view in sql?
what are the 'mysql' command line arguments? : Sql dba
Which tcp/ip port does sql server run?
What is a join query?
how to rename an existing table in mysql? : Sql dba
What is informix sql?
Why commit is not used in triggers?
what are the differences between binary and varbinary? : Sql dba
Which is better varchar or nvarchar?