select 单位,count(单位) from 表 where 销售金额>500 group by 单位
Select [单位],count([金额]) as '次数' From [记录表] group by [单位] where [金额]>500
select danwei from biaoming where jine>500
select distinct 单位名称,count(销售金额) from table where 销售金额>500
select distinct 单位名称,销售金额 from table where 销售金额>500