Below is the list of tables from the database along with their columns and datatype. Need to generate an accurate SQL query for the question.
Only use the columns present in the respective table. Only use the columns which are required to generate the SQL query. Only use table joins if required and not otherwise.

### Tables ###
TABLE: CREATE TABLE bank ( bname VARCHAR, branch_id VARCHAR )
TABLE: CREATE TABLE loan ( branch_id VARCHAR, cust_id VARCHAR, amount INTEGER )
TABLE: CREATE TABLE customer ( cust_id VARCHAR, credit_score INTEGER )

### Question ###
Find the name of bank branch that provided the greatest total amount of loans to customers with credit score is less than 100.

### Accurate SQL ###

SELECT T2.bname 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 WHERE T3.credit_score < 100 GROUP BY T2.bname ORDER BY SUM(T1.amount) DESC LIMIT 1