For each account_id, return credits and debits (total amounts) in separate columns.
account_id
credits
debits
Each hint gives a little more help. Try on your own first.
Run your code to see the output here.