A table has 150 records. How do you retrieve 100th row to
120th row from that table ?

Answer Posted / nayana

select * from emp where rownum<121
minus(select * from emp where rownum<100)

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a string data type in sql?

512


What is a file delimiter?

551


What is coalesce in sql?

557


What is the difference between microsoft access and sql?

496


what are all types of user defined functions? : Sql dba

544






What is mdf ldf and ndf?

558


What is mutating trigger?

576


what is primary key? : Sql dba

508


Should I use mbr or gpt?

539


what does the t-sql command ident_incr does? : Transact sql

593


what is the difference between delete and truncate commands? : Sql dba

533


What are all ddl commands?

545


What is application trigger?

536


How can we debug in PL/SQL?

655


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

1772