What are the different names and credit scores of customers who have taken a loan?
select distinct t1.cust_name, t1.credit_score from customer as t1 join loan as t2 on t1.cust_id = t2.cust_id