For each account, show txn_id, amount and the sum of the current and previous transaction amounts as pair_sum.
txn_id
amount
pair_sum
Each hint gives a little more help. Try on your own first.
Run your code to see the output here.