select top 10 * from tablename
where id not in (select top 10 id from tablename)

解决方案 »

  1.   

    select * from tablename where id between 10 to 20
      

  2.   

    哈哈,这么简单的问题也值100分啊。来晚了,5555555555555555同意 wwl1981(小刀) 的
      

  3.   

    不同意 wwl1981(小刀) 记录 给删除过 肯定会有问题
      

  4.   

    select top 11 * from tablename
    where id not in (select top 9 id from tablename)
      

  5.   

    select top 10 * from (select top 20 * from 你的表 order by id desc)a order by id
      

  6.   

    各位,webdiyer(陕北吴旗娃) ( )的才是对的,faint
      

  7.   

    select top 10 * from (select top 20 * from 你的表 order by id desc)a order by id
    这个才是对的,其他的有问题,希望大家试一试。
      

  8.   

    select top 10 * from 表名 where ID not in (select top 10 ID from 表名 order by ID) order by ID
    注意两个选择语句的排序要一致