select t1.id ,t1.fee+nvl(t2.fee,0) from t1,t2 where t1.id=t2.id(+)