Postgresql natural join. fundname, SUM(shares) AS tt, SUM(shares) * price.
Postgresql natural join. postgresql inner join and left join.