select *
from (
         select  new_ .* , rownum rownum_
        from        (    "这里是查询的SQL ")  new_
        Where rownum<= ?
)
where rownum_>= ?