create table t1(no number);
insert into t1 values(133010);
insert into t1 values(133024);
insert into t1 values(133036);
insert into t1 values(133037);
insert into t1 values(133038);
insert into t1 values(133039);
insert into t1 values(133046);
insert into t1 values(133191);
insert into t1 values(133192);
insert into t1 values(133193);
insert into t1 values(133194);
insert into t1 values(133207);
select no from (
select no,lag(no,1,null) over(order by no) no1,no-lag(no,1,null) over(order by no) bal
from t1)
where bal=1
union
select no1 from (
select no,lag(no,1,null) over(order by no) no1,no-lag(no,1,null) over(order by no) bal
from t1)
where bal=1;