比如有一张表编号 类型 数量1 A 22 B 43 C 64 D 25 E 5统计大于2的数据
select no,type,sum(counts) as counts from table where counts>=2 group by no,type
题目表达不明确,没有说到底是什么东西大于2,而且标题中说有分组,但内容里完全看不出哪里有分组请提供一下,根据你要求生成的结果数据长什么样