Question

Given a table Transactions(txn_id, account_id, amount, txn_date), which query correctly finds accounts that made more than 3 transactions on the same single day, listing the account and that day's transaction count?

A SELECT account_id, txn_date, COUNT(*) FROM Transactions WHERE COUNT(*) > 3;
B SELECT account_id, txn_date, COUNT(*) AS cnt FROM Transactions GROUP BY account_id, txn_date HAVING COUNT(*) > 3;
C SELECT account_id, COUNT(*) FROM Transactions GROUP BY account_id HAVING COUNT(*) > 3;
D SELECT account_id, txn_date FROM Transactions WHERE COUNT(txn_id) > 3 GROUP BY account_id;
E SELECT DISTINCT account_id FROM Transactions ORDER BY COUNT(*) DESC LIMIT 3;
Practice Next

Hey! Ask a query

🎓
Think You're Ready for RBI Grade B?
RBI Grade B 2026 Phase 1 Memory Based Paper
  • 200 Questions with Detailed Solutions
  • Section-wise Coverage (GA, English, Quant & Reasoning)