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
names of the different banks = SELECT DISTINCT bname; have provided loans = JOIN on bank and loan tables based on branch_id;