select name, sum(suryo * tanka) as '総和' from hoge group by name