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

Answer Posted / srinivas

select * from(select <table_name>.*,rownum rn from <Table_name>) where rn between 100 and 120

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Enlist the data types that can be used in pl/sql?

747


What are the different datatypes available in PL/SQL?

754


1. is it possible to use the cursor atttibutes (%found ,% rowcount , %isopen , %notfound ) to our user defined cursor names ....... cursor cursor_name is select * from scott.emp if you use... cursor_name%found , %rowcount ,%isopen,%notfound...will it work... -------------------------- 2.what is the difference between the varray and index by table .. -------- 3. type type_name is table of number(8,3) index by binary_integer; identifier_name type_name; first , last , prior , next ,trim are the methods we can use it for the above type...simillary is there any way to apply for cursors... with thanks and regards..sarao...

2167


What is a stored procedure in sql with example?

784


Explain the working of foreign key?

726






What are commit, rollback, and savepoint?

738


What problem one might face while writing log information to a data-base table in pl/sql?

761


What is the purpose of the primary key?

754


What is the maximum size of sqlite database?

726


How do you explain an index?

988


what is the maximum length of a table name, database name, and fieldname in mysql? : Sql dba

850


how to see the create table statement of an existing table? : Sql dba

736


What is user defined functions?

746


what are all different types of collation sensitivity? : Sql dba

709


What is secondary key?

671