display records from 5 to 9 using rowid or rownum

Answer Posted / vinay shankar

select * from emp
where rownum <=9
minus
select * from emp
where rownum <5

Is This Answer Correct ?    31 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are the different index configurations a table can have? : Sql dba

576


What is the difference between joins?

537


How can you tell the difference between an index and a view?

495


How can I change database name in sql?

533


what is a stored procedure? : Sql dba

559






what is the difference between char and varchar data types? : Sql dba

543


Why are cursors used?

585


What is pragma in pl sql?

602


Can we join more than 2 tables in sql?

494


Does sql use python?

565


Can we insert in view in sql?

568


a table has 2 classifications 1)liabilities 2)earnings this liabitity has 2 elements with 2 input values and the earnings have 2 elements with 2 input values i wrote a query so that my input is liability savings amount1 amount2 xxxx null xxxxxx 0 xxx1 null xxxxx1 0 null yyyy 0 yyyy null yyy1 0 yyy1 my problem is --when i developed a report(d2k) with this data my o/p is liabilities,amount1,savings,amount2 xxxx xxxxxx xxx1 xxxxx1 yyyy yyyy yyy1 yyy1 how could i move this savings,savings values 2 palces up. can any body provide me witha better solution

1778


What do you think about pl/sql?

535


How many databases can sql express handle?

536


How you can copy a file to file content and file to pl/sql table in advance pl/sql?

620