CREATE TABLE loan (loan_id TEXT, loan_type TEXT, cust_id TEXT, branch_id TEXT, amount DECIMAL)
CREATE TABLE customer (cust_id TEXT, cust_name TEXT, acc_type TEXT, acc_bal DECIMAL, no_of_loans DECIMAL, credit_score DECIMAL, branch_id DECIMAL, state TEXT)
CREATE TABLE bank (branch_id DECIMAL, bname TEXT, no_of_customers DECIMAL, city TEXT, state TEXT)

What are the names of the different banks that have provided loans?
SELECT DISTINCT T1.bname FROM bank AS T1 JOIN loan AS T2 ON T1.branch_id = T2.branch_id
SELECT DISTINCT "T1"."bname" FROM "bank" AS "T1" JOIN "loan" AS "T2" ON "T1"."branch_id" = "T2"."branch_id"