top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How to display the records between two range of rownum in Oracle?

+1 vote
456 views
How to display the records between two range of rownum in Oracle?
posted Mar 11, 2015 by Archana

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes
 
Best answer

Use BETWEEN operator that displays the records between 2 ranges from single table.

SELECT * from
(
select m.*, rownum r
from maps006 m
)
where r > 49 and r < 101

2. select * from emp where sal between 1000 and 3000
answer Mar 11, 2015 by Manikandan J
...