Find the total amount of loans offered by each bank branch.
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
[{'sum(amount)': 5000, 'bname': 'broadway'}, {'sum(amount)': 3000, 'bname': 'downtown'}, {'sum(amount)': 2050, 'bname': 'morningside'}]