how to select 5 to 7 rows from a table, which contains 10 rows?
Answer Posted / s. ramesh
select * from ( select rownum r, comp_name from metatest )
where r > 4 and r < 8;
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
How to receive output values from stored procedures?
What are the different Authentication modes in SQL Server and how can you change authentication mode?
How to loop through result set objects using odbc_fetch_row()?
Explain multiserver query
What are the different types of collation sensitivity?
What are cursors? Explain different types of cursors. What are the disadvantages of cursors? How can you avoid cursors?
How to get the definition of a user defined function back?
How to create an multi-statement table-valued function?
What is the osql utility?
What is explicit cursors?
what are the new features in SSRS?
Explain how you can configure a running aggregate in SSRS?
Explain security with sql azure?
What are the risks of storing a hibernate-managed object in a cache? How do you overcome the problems?
How to update a field in SQL after ALTERING a row?