Task: Text to Code
Input (English): SQL: SELECT bname FROM bank
Feedback: Also Ensure that branch id is present in loan table .
Output (English): SELECT DISTINCT T1.bname FROM bank AS T1 JOIN loan AS T2 ON T1.branch_id  =  T2.branch_id