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 the difference between count () and rowcount ()?
How do you trace the traffic hitting a sql server?
What is join query?
What is the tcp/ip port on which sql server runs?
Is foreign key unique?
Do you know what is difference between index seek vs. Index scan?
What is the difference between mysql and mysqli?
Can a table have 2 foreign keys?
what is a default tcp/ip socket assigned for sql server? : Sql server database administration
How to get the definition of a user defined function back?
When to use null data driven subscription?
What is lookup override?
In what sequence sql statement is processed?
How to replace given values with null using nullif()?
What are user defined functions in ms sql server?