Find the name and account balance of the customers who have loans with a total amount of more than 5000.
return customers ;return loans of  #1 ;return sum of  #2 for each #1 ;return #1 where  #3 is  higher than 5000 ;return names of  #4 ;return account balances of  #4 ;return #5 ,   #6
['select', 'project', 'group', 'comparative', 'project', 'project', 'union']