A table has 150 records. How do you retrieve 100th row to
120th row from that table ?
Answer Posted / jayanth
select * from (select a.*, row_number() over (order by empno) rn from emp a) where rn between 100 and 120;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is asqueryable?
how to create a test table in your mysql server? : Sql dba
What is cascade in sql?
What is tuple in sql?
What is the need of a partition key?
How many subqueries can be nested in a statement?
What is db journal file?
What are conditional predicates?
Does sap use sql?
ERROR:Insert or update on table"accnt" violates foreign key constraints "acct_to_curr_symbol" DETAILS:KEY(accnt_curr_id)(-2)is not present in the table "curr_symbol" ......solve The Problem..
What is use of term?
What is plpgsql language?
Why is sharding used?
Can %notfound return null after a fetch?
Mention what is the use of function "module procedure" in pl/sql?