Oracle
 sql >> Database >  >> RDS >> Oracle

Oracle ottiene numeri con intervallo

Si prega di provare:

select 
  distinct START_SERIAL+level-1 SERIAL
from 
  YourTable
connect by level-1<=END_SERIAL-START_SERIAL
order by 1;