Database: loan_1
Question: For each account type, find the average account balance of customers with credit score lower than 50.
SQL:
SELECT avg(acc_bal) ,  acc_type FROM customer WHERE credit_score  <  50 GROUP BY acc_type