select a.id, sum(a.allcount),nvl(sum(b.addcount),0),nvl(sum(c.removecount),0)
from table1 a, table2 b, table3 c
where a.id = b.id (+) and a.id=c.id(+)
group by a.id
from table1 a, table2 b, table3 c
where a.id = b.id (+) and a.id=c.id(+)
group by a.id
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货