Task: Text to Code
Input (English): Step 1: For each row in bank table, find the corresponding rows in customer table.
Step 2: find the average credit_score in the results of step 1 whose bank's state equals Utah
Output (English): SELECT Avg ( T2.credit_score ) FROM bank AS T1 JOIN customer AS T2 ON T1.branch_ID = T2.branch_ID WHERE T1.state = "Utah"