Hi there!  How are you?  Can you show a list of all customer IDs for customers who have loans in the amount of 5000 or more?
select t1.cust_id from customer as t1 join loan as t2 on t1.cust_id = t2.cust_id group by t1.cust_name having sum ( t2.amount ) > = 5000
Excellent!  Can you update that list to include the customer names and their account balances?
select t1.cust_id,t1.cust_name,t1.acc_bal from customer as t1 join loan as t2 on t1.cust_id = t2.cust_id group by t1.cust_name having sum ( t2.amount ) > = 5000
Awesome!  Finally, can you show me the number of loans and credit score for Owen?
select t1.credit_score,count ( * ) from customer as t1 join loan as t2 on t1.cust_id = t2.cust_id where t1.cust_name = "Owen"