select top 30 * from (select * from table order by field desc)

解决方案 »

  1.   

    select top 30 * from (select top 90* from table order by field desc)
      

  2.   

    select top 30 * from (select top 50 * from tablename) order by id desc
      

  3.   

    select top 31* from 表 where 主键 not in (select top 19 主键  from 表 order by 主键)order by 主键
      

  4.   

    select top 30 * from table where id not in 
    (select top 20 id from table order by id )
      

  5.   

    谢谢各位!我用的是MySQL数据库,没有select top语句的。
    还好我有装MSSQL。
      

  6.   

    实际运行结果显示,网友:love16(一块钱) 的回复是惟一正确的。
      

  7.   

    love16(一块钱) 的执行正确,非常感谢。但是有一个问题:执行速度为何这么慢?我4w条记录的表,搜索用了近两分钟。
    难道是我用Access的缘故?