select b.* from
(
select a.*,rownum num from
(
select * from xg.sys_operators t
order by to_number(t.op_id)
) a
where rownum <= 5000
) b
where num > 4990
分页二:
select * from
(
select rid,num from
(
select rid,rownum num from
(
select rowid rid from xg.sys_operators t
order by to_number(t.op_id)
) a
where rownum <= 5000
) b
where num > 4990
) c,xg.sys_operators s
where c.rid = s.rowid
order by c.num