Find debits that were bigger than the balance available just before them. Return txn_id, account_id, amount and balance_before.
txn_id
account_id
amount
balance_before
Each hint gives a little more help. Try on your own first.
Run your code to see the output here.