#2
lingerfanny2023-05-16 10:44
|
怎么样可以让下面几个数据变成横排,并且对应相应的地市?
原使用的公式如下:
elect ABC0501."地市",count("5G省内流量(T)"+"5G省外流量(T)") AS '大于10T卡数量' from ABC0501 where "5G省内流量(T)"+"5G省外流量(T)">10000 group by "地市"
select ABC0501."地市",count("5G省内流量(T)"+"5G省外流量(T)") AS '大于20T卡数量' from ABC0501 where "5G省内流量(T)"+"5G省外流量(T)">20000 group by "地市"
select ABC0501."地市",count("5G省内流量(T)"+"5G省外流量(T)") AS '大于30T卡数量' from ABC0501 where "5G省内流量(T)"+"5G省外流量(T)">30000 group by "地市"
只有本站会员才能查看附件,请 登录