select fc.month, sum(coalesce(vl.volume, fc.volume)) vol
from forecast fc
left join volumn vl on fc.month = vl.month and fc.year = vl.year
where fc.year=2015
group by fc.month
select month, sum(vol) total from (
select fc.IDcus, fc.month, sum(coalesce(vl.volume, fc.volume)) vol
from forecast fc
left join volumn vl on fc.month = vl.month and fc.year = vl.year
where fc.year=2015
group by fc.IDcus, fc.month
) tmp