SELECT sum(amount) ,  T1.bname FROM bank AS T1 JOIN loan AS T2 ON T1.branch_id  =  T2.branch_id GROUP BY T1.bname
What are the names of the different bank branches, and what are their total loan amounts?
SELECT sum ( amount ) , T1.bname FROM bank AS T1 JOIN loan AS T2 ON T1.branch_id = T2.branch_id GROUP BY T1.bname
select sum ( amount ) , t1 . bname from bank as t1 join loan as t2 on t1 . branch_id = t2 . branch_id group by t1 . bname
What are the names of the different bank branches , and what are their total loan amounts ?