Database: tracking_share_transactions
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