SELECT TOP 1 A.* FROM (SELECT TOP 50* FROM table1) A

解决方案 »

  1.   

    SELECT TOP 1 A.* FROM (SELECT TOP 50* FROM table1) A ORDER BY [id] DESC 
      

  2.   

    select top 1* from table1 where checksum(*) not in (select top 49 checksum(*) from table1)
      

  3.   

    第50条select * 
    from t a
    where (select count(*) from t where id<=a.id)=50
      

  4.   

    select top 1 *
    from (select top 50  *
    from t
    order by id desc)
      

  5.   

    感觉上大家都没有满足楼主的要求,
    这个问题我也曾经想过,感觉没有什么办法实现,
    -----------------------------------------
    我对上边的didoleo()写的很感兴趣,
    不知道他的对不对,
    CHECKSUM(*)能判断是第几行记录吗?
      

  6.   

    用 skyinfo(MFC)  的方法可以实现