Chapter 4 · Aggregations
21. Monthly Transaction Volume
Easy10 XPFinance
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.
Tables
- PKidINT
- FKaccount_id→ accounts.idINT
- transaction_dateTEXT
- typeTEXT
- amountREAL
- balance_afterREAL
- descriptionTEXT
- reference_numberTEXT
Need help?
Ask Sol
AI tutor — looks at your current query and nudges you, without spoiling the answer.
Solution
Try the hints first — solving it yourself is what makes it stick.