How to retrieve range of 10th rows to 20 th rows from total
rows from a database table.? (Not from Dataset)
Answer Posted / shilpa
with temp
as
( select row_number() over(order by city) rowid, * from
employee)
select * from temp
where rowid >= 10
and rowid <= 20
Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
what's sql server? : Sql server database administration
Explain the various types of concurrency problem. I.e. Lost or buried updates, uncommitted dependency, inconsistent analysis, phantom read?
How do I determine how many instances of sql server are installed on a computer?
Is the order of columns in the set clause important in ms sql server?
What is dml command?
How to find related tables in sql server?
What are the differences between “row_number()”, “rank()” and “dense_rank()”?
What are the recovery models for a database?
List out a number of the wants to setup a SQL Server failover cluster?
What is difference between table aliases and column aliases? Do they affect performance?
Working with TLogs
What are the events recorded in a transaction log?
What is the full form of dql?
What is merge statement?
What is database white box testing?