Skip to main content
All Problems
hard0% acceptance

Running Transaction Total Per Account

The audit team needs a running total of transaction amounts for each account, ordered by transaction date. Return account_id, transaction_date, amount, and running_total. Limit to account_id = 1 for readability.

Schema

🔑idINT
🔗account_idINT
transaction_dateTEXT
typeTEXT
amountREAL
balance_afterREAL
descriptionTEXT
reference_numberTEXT
postgresql

Run your query to see results

Press Ctrl + Enter to execute