sql >> Base de Datos >  >> RDS >> Oracle

como calcular rangos en oracle

 select * from Table, (Select Level as Id from dual connect by Level <= (Select Max(End)      from Table)) t
 Where  t.Id between rr.Start and rr.End
 Order by Map, Start, Id