This is what u need
select
g.gangID,
g.gangName,
concat('$ ',`tot_wealth`) as `Total wealth`
from gang g
inner join
(
select Gang,FORMAT(sum(Cash+Bank),0) as `tot_wealth`
from players
group by Gang
)p
on p.Gang = g.gangID
group by g.gangID