For each transaction, show account_id, txn_date, amount and the total of that account's transactions in the 30 days up to and including that date as last_30d.
Each hint gives a little more help. Try on your own first.
Run your code to see the output here.