直接这样
create table tb as
select calling_number,name,sum(c_count) c_count
from
(select calling_number,name,c_count from tb1
union all
select calling_number,name,c_count from tb2
union all
select calling_number,name,c_count from tb3
......
) a
group by calling_number,name
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货