Task: Text to Code
Input (English): SQL: SELECT Avg ( T1.credit_score ) FROM customer AS T1 WHERE T1.cust_name NOT IN ( SELECT T2.cust_ID FROM loan AS T2 WHERE T2.loan_type = "Mortgages" )
Feedback: Remove "for which customer id equals Mortgages" in step 1 , change account type with branch id in step 2.
Output (English): SELECT avg(credit_score) FROM customer WHERE cust_id NOT IN (SELECT cust_id FROM loan)