select change_type as change_type, sum(points1) as points from (select DECODE(p.change_type, , ' 兑换商品', , '兑换优惠券', , '订单获得', , '评价获得', , '注册获得', , '人工增加', , '订单退还', , '订单取消退回', , '邮箱验证', , '评价获得', , '评价获得', , '评价获得', , '评价获得', , '抵现消费', , '积分过期', , '