I would like to get records from 25 to 50. I write this code, but, it looks terrible with double select clause.
Select * From (
    Select eto.*, rownum rn from employee_trip_orders eto
) where rn between 25 and 50 ;
How can i shrink it to use one select like that?
 Select eto.*, eto.rownum rn from employee_trip_orders eto
 where rn between 25 and 50 ;
I don't need the second one. Thanks. I have old 11c Oracle version and offset keyword is not suitting me
 
     
     
    