how to select 5 to 7 rows from a table, which contains 10 rows?
Answer Posted / smitha
select * from (select row_number() over (order by empid) as
row, *
from employee)a
where a.row between 4 and 5
Is This Answer Correct ? | 7 Yes | 3 No |
Post New Answer View All Answers
How to use subqueries in the from clause in ms sql server?
What are page splits? : SQL Server Architecture
What authentication modes does sql server support?
How to run sql server 2005 books online on your local system?
Define compound operators?
How to drop an existing user defined function in ms sql server?
Explain system views?
Is natural join and equi join same?
What are 3 ways to get a count of the number of records in a table?
How to delete an existing row with delete statements in ms sql server?
How many databases instances are there in sql server 2000?
Why use “pivot” in sql server?
Explain filtered indexes?
What are cursors in ms sql server?
What are the different authentication modes in sql server? How can it be changed?