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 provide default values to function parameters?
Which are the new data types introduced in sql server 2008?
How to create hyperlink from returned sql query ?
Difference between uniqe index and uniqe constraint?
What will happen if a column containing char type data is changed to the nchar data type?
Write an sql query to find first weekday of the month?
How to test odbc dsn connection settings?
What are the advantages of paper records?
On a windows server 2003 active – passive failover cluster, how do you find the node which is active?
Why do we use functions?
What do you understand by integration services in sql server?
Retrieve the unique rows from table without using UNIQUE and DISTINCT keywords.
What is transact-sql language?
Explain the usage of floor function in sql server.
What is a subquery in a select query statement in ms sql server?