Skip to main content
All Problems
easy0% acceptance

Monthly Transaction Volume

The reporting team needs monthly transaction statistics. For each month (formatted as YYYY-MM), return the number of transactions and the total transaction amount. Sort by month ascending.

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