Find the total amount of loans offered by each bank branch.
return bank branches ;return loans offered by #1 ;return amounts of  #2 ;return sum of  #3 for each #1
['select', 'project', 'project', 'group']