Skip to main content
All Problems
easy0% acceptance

Transactions Per Account

The analytics team wants to measure account activity. For each account, count the number of transactions. Return account_id and tx_count, sorted by tx_count descending.

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