【SQL】sql查询同一字段相同属性列的值合计

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

posted @ 2018-08-09 14:44  朝雾轻寒  阅读(3717)  评论(0编辑  收藏  举报