不可能的,要么改成如下
select rownum,a from tbl where isnull(rownum,0)>10 and isnull(rownum,0)<200

解决方案 »

  1.   

    rownum 是本次查询时的流水号,所以不能>10了,还有没有isnull这个函数吧
      

  2.   

    select id,a from (select rownum id,a from tb1 where rownum<200)
    where id > 10;
      

  3.   

    试试这个:
      select rownum+10,a from tbl where a not in (select a from tbl
    where rownum<11) and rownum<200
      

  4.   

    准确的写法
    select X.* from 
    (select rownum row_num,A.* from tab1 A ) X where X.row_num>10 and 
    X.row_num<200
      

  5.   

    楼上的方法效率不高,如果表很大,单这句select rownum row_num,A.* from tab1 A 子查询就很耗资源。
      

  6.   

    select a from tb1 where rownum<200
    minus
    select a from tb1 where rownum<10
      

  7.   

    这有两种方法:
       1:Select A.* from Tabl A where Rownum<201 minus
         Select A.* from Tabl A where Rownum<11;
       2.select X.* from 
        (select rownum row_num,A.* 
         from tab1 A row_num<201) X 
         where  X.row_num>10
    请大家评价它们的性能。
      

  8.   

    比较赞同:
    Select A.* from Tabl A where Rownum<201 minus
         Select A.* from Tabl A where Rownum<11;