question: What are the names and account balances for customers who have taken a total amount of more than 5000 in loans?
#1 return customers 
#2 return loans #1 have  taken 
#3 return amounts of  #2 
#4 return sum of  #3 for each  #1 
#5 return #1 where #4 is  higher than 5000 
#6 return names of  #5 
#7 return account balances of  #5 
#8 return #6 ,  #7