Hãy thử:
select
distinct START_SERIAL+level-1 SERIAL
from
YourTable
connect by level-1<=END_SERIAL-START_SERIAL
order by 1;
Hãy thử:
select
distinct START_SERIAL+level-1 SERIAL
from
YourTable
connect by level-1<=END_SERIAL-START_SERIAL
order by 1;