How to retrieve range of 10th rows to 20 th rows from total
rows from a database table.? (Not from Dataset)
Answer Posted / newbie
SELECT E.* FROM
(SELECT ROW_NUMBER() OVER (ORDER BY EmpID) AS RowCounts,
Salary FROM Emp) AS E
WHERE E.RowCounts BETWEEN 10 AND 20
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
What are the different types of normalization?
What are the types of table?
why would you use sql agent? : Sql server database administration
What is an execution plan?
What is user-defined inline table-valued function?
What is cross join in sql server joins?
What are the aggregate and scalar functions?
What is a performance monitor?
What is right outer join in sql server joins?
Give an example of why you would want to denormalize a database
Is truncate autocommit?
What is the chart in report?
How exceptions can be handled in sql server programming?
How do I know if localdb is running?
What is snapshot report?