Question: I want to know what is the greatest amount of loan to customers that each bank branch has made.
SQL: SELECT T2.bname, max ( T1.amount )  FROM loan AS T1 JOIN bank AS T2 ON T1.branch_id   =   T2.branch_id JOIN customer AS T3 ON T1.cust_id   =   T3.cust_id GROUP BY T2.bname