select itm1.* from
(
select rownum rn, t.n_id from (
select itm.n_id from OLTS_TRADE.trd_item itm
) t where rownum <= 100
) t1 inner join OLTS_TRADE.trd_item itm1 on t1.n_id = itm1.n_id
where t1.rn >= 90;
select * from olts_trade.trd_item where n_id in (
select n_id from (
select rownum rownum_,n_id from (
select n_ID from olts_trade.trd_item
) where rownum <= 100
) where rownum_ >= 90
)