本帖最后由 viphk 于 2013-04-07 01:49:34 编辑

解决方案 »

  1.   

    ACCESS是个人数据库,不会支持如此复杂的sql语句,自己用简单的语句处理吧,
      

  2.   

    select top 5 a.*,b.[count] from GongGao a,(select count(id) [count] from GongGao) b order by id descselect top 5 a.*,[count]=(select count(id) [count] from GongGao) from GongGao a order by id desc
    sql 也没你那写法.