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
Can you please explain the difference between function and stored procedure?
Explain about SQLOS?
What is scan table/view and seek table/view when its occurs? : sql server database administration
What is sql or structured query language?
Explain what is dbcc?
Disadvantages of the indexes?
In which sql server version report builder introduced?
How can you insert values in multiple rows using one Insert statement?
What are examples of triggers?
why does a sql statement work correctly outside of a user-defined function, but incorrectly inside it? : Sql server administration
What stored procedure can you use to display the current processes?
Some queries related to SQL
As per your opinion what are the five top responsibilities of a dba? : sql server database administration
how many triggers you can have on a table? : Sql server database administration
What is cube dimension? : sql server analysis services, ssas