SELECT T1.bname FROM bank AS T1 JOIN loan AS T2 ON T1.branch_id  =  T2.branch_id GROUP BY T1.bname ORDER BY sum(T2.amount) DESC LIMIT 1
What is the name of the bank branch that has lent the greatest amount?
SELECT T1.bname FROM bank AS T1 JOIN loan AS T2 ON T1.branch_id = T2.branch_id GROUP BY T1.bname ORDER BY sum ( T2.amount ) DESC LIMIT 1
select t1 . bname from bank as t1 join loan as t2 on t1 . branch_id = t2 . branch_id group by t1 . bname order by sum ( t2 . amount ) desc limit value
What is the name of the bank branch that has lent the greatest amount ?