top 4 得到的肯定是<=4的记录数。
declare @a table (id int,name varchar(10))
insert into @a
select 1,'a' union all
select 1,'a' union all
select 1,'a' union all
select 1,'a' union all
select 1,'a' union all
select 1,'a' union all
select 1,'a' union all
select 1,'a' union all
select 1,'a' 
select top 4 * from @a
/*
结果
id     name
--------------
1 a
1 a
1 a
1 a*/

解决方案 »

  1.   

    select top 4 * from 表名 where 字段_A = 0 order by 字段_A desc 返回的就是4条记录
      

  2.   

    select top 4 * from 表名 where 字段_A = 0 order by 字段_A desc 不管你的表结构是怎样滴。。
    用了TOP 4关键字 肯定只会返回<=4条记录。
      

  3.   

    select top 4 * from where 字段_A=0 order by 字段_B  这里应该是别的字段
      

  4.   

    我用的是access 数据库不行!  嘿嘿
    sqlserver 我刚刚试了可以
      

  5.   

    access应该用什么呢??
    csdn还是人气旺,我刚才去可其它论坛,半天没人回答!