Oracle
 sql >> Datenbank >  >> RDS >> Oracle

wie man Bereiche in Oracle berechnet

 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