首页 > 技术文章 > 【SQL】sql查询同一字段相同属性列的值合计

zwqh 2018-08-09 14:44 原文

select  type,sum(value) as valueSum from t group by type

推荐阅读