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
How to test for null values?
How to raise user-defined exception with custom sqlerrm ?
Explain alias in sql?
How subquery works in sql?
What is a full join sql?
Define union, minus, union all, intersect ?
how many tables will create when we create table, what are they? : Sql dba
Can variables be used in sql statements?
Is there a 64 bit version of ssms?
What is auto increment feature in sql?
Why query optimization is needed?
how are mysql timestamps seen to a user? : Sql dba
What are sql commands?
What is cartesian join in sql?
What is schema in sql example?