Table schema:
CREATE TABLE TRANSACTIONS (investor_id VARCHAR, transaction_type_code VARCHAR)

Question: Show the number of transactions with transaction type code "SALE" for different investors if it is larger than 0.
SQL: SELECT investor_id, COUNT(*) FROM TRANSACTIONS WHERE transaction_type_code = "SALE" GROUP BY investor_id