Context: CREATE TABLE TRANSACTIONS (investor_id VARCHAR)
Question: Show the number of transactions for different investors.
Answer: SELECT investor_id, COUNT(*) FROM TRANSACTIONS GROUP BY investor_id