日期:2014-05-17  浏览次数:20486 次

SQL 查询帮助
统计产品的总数量表结构如下所示

------解决方案--------------------
select 产品名称,sum(产品数量) as num
from tb 
group by 产品名称