select * from ( select rownum,id* from (select * from tbname where ... order by colname))where id>m and id<n;

解决方案 »

  1.   

    select * from ... where rownum<m
    minus
    select * from ... where rownum>n
      

  2.   

    rownum没有大于select * from ... where rownum<n
    minus
    select * from ... where rownum<m
      

  3.   

    謝謝SongZip和水中天的代碼﹗﹗﹗
    To beckham:我試過水中天的代碼﹐可以呀﹗
    還請各位幫助﹐我要的是一個過程﹐也就是如何把記錄集輸出?謝了﹗﹗﹗