Find the average credit score of the customers who have some loan.
select avg(credit_score) from customer where cust_id in (select cust_id from loan)