Task: Text to Code
Input (English): SQL: SELECT cust_name FROM customer GROUP BY cust_name HAVING Count ( * ) > 1
Feedback: Remove customer name in customer table and use customer id in loan table in step 1.
Output (English): SELECT T1.cust_name FROM customer AS T1 JOIN loan AS T2 ON T1.cust_id  =  T2.cust_id GROUP BY T1.cust_name HAVING count(*)  >  1