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

Answer Posted / ajit nayak

select rn, ename
from (select rownum rn, ename
from emp)
where rn between 3 and 7;

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is exception? What are the types of exceptions?

791


what are the limitations of identity column? : Transact sql

825


Is it possible to create startup or shutdown trigger for on-schema?

784


Explain clause in sql?

750


What is trigger types of trigger?

722






What are the ways on commenting in a pl/sql code?

679


What is trigger in pl sql with examples?

722


What is difference between inner join and cross join?

717


what are all the different types of indexes? : Sql dba

719


Why is sql better than hql?

692


What is a unique key?

777


What is auto increment?

735


What are predefined functions in sql?

714


How do you take the union of two tables in sql?

734


How do I write a sql query in pgadmin 4?

714