What are the names and account balances for customers who have taken a total amount of more than 5000 in loans?
return customers ;return loans #1 have  taken ;return amounts of  #2 ;return sum of  #3 for each  #1 ;return #1 where #4 is  higher than 5000 ;return names of  #5 ;return account balances of  #5 ;return #6 ,  #7
['select', 'project', 'project', 'group', 'comparative', 'project', 'project', 'union']