you dont need join, join is applicable if you have fk-pk relation
you try following query
select id, sum(suma), sum(sumb) from
(select id, amount as suma, 0 as sumb from a where id=1
union
select id, 0 suma , amount as sumb from b where id=1
) x group by id