标签:图片 http code one end 分享 when art 面试题
SQL语句如下:
select
country,
sum(case when type='A' then money end) as A,
sum(case when type='B' then money end) as B,
sum(case when type='C' then money end) as C
from table1
group by country
本文转自:https://blog.csdn.net/Eastmount/article/details/50559008
标签:图片 http code one end 分享 when art 面试题
原文地址:https://www.cnblogs.com/lanqiu5ge/p/9496000.html