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
Explain forward - only cursors?
What are the events recorded in a transaction log?
How to find table changes in sql server?
What is an sql server agent?
what is database replication? : Sql server database administration
Explain what stored procedure sp_replcounters is used for? : sql server replication
How column data types are determined in a view?
what is normalization? Explain different levels of normalization? : Sql server database administration
What is de-normalization in sql database administration? Give examples?
What are sp_configure commands and set commands?
How to return the top 5 rows from a select query in ms sql server?
Explain throw statement in sql server 2008?
What are click through reports?
What is indexed view?
How to resolve the orphan use problem? : sql server security