求SQL语句-返回符合条件的记录数

2025-03-24 03:55:42
推荐回答(5个)
回答1:

select 单位,count(单位) from 表 where 销售金额>500 group by 单位

回答2:

Select [单位],count([金额]) as '次数' From [记录表] group by [单位] where [金额]>500

回答3:

select danwei from biaoming where jine>500

回答4:

select distinct 单位名称,count(销售金额) from table where 销售金额>500

回答5:

select distinct 单位名称,销售金额 from table where 销售金额>500