how to select 5 to 7 rows from a table, which contains 10 rows?
Answer Posted / narayana
select * from emp order by empid
offset 4 rows
fetch next 3 rows only
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are different types of database indexes?
Can a trigger be created on a view?
List all the types of user-defined functions?
What is difference between cte and view?
How to write a query with a right outer join in ms sql server?
How do you know if sql server is running on your local system?
What is the optimal disk configuration for a database server and what raid configurations would you use if budget is not a constraint?
Tell me what is use of except clause? How it differs from not in clause?
What is the use of stored procedure?
what is a self join? Explain it with an example? : Sql server database administration
What is the security principal at the server level that represents your session?
What happens if you add a new index to large table?
Explain data warehousing in sql server?
How can you check the level of fragmentation on a table?
How does using a separate hard drive for several database objects improves performance right away?