how to select 5 to 7 rows from a table, which contains 10 rows?
Answer Posted / sajida
select rnum, d.* from dept d, (select rownum rnum , deptno
from dept ) e
where d.deptno = e.deptno and rnum between 5 and 7;
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
What is tabulation?
How can change procedure in sql server?
Write a sql query to get zero records from a table having n number of records?
What happens if an integer is too big for int date type?
What are ddl triggers and types of ddl trigger?
What is set nocount on and what is set nocount off?
Where are stored procedures in sql server?
What’s the use of custom fields in report?
What are the differences between sql server and mysql.
What is tablesample?
How to create function with parameter in sql server?
How can you insert values in multiple rows using one Insert statement?
Can you name some of the dml commands in sql?
what is new philosophy for database devises for sql server 7.0? : Sql server database administration
Where does the copy job runs in the log shipping primary or secondary? : sql server database administration