text: Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
  ### Context:
  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.
  ### Answer:
  SELECT investor_id, COUNT(*) FROM TRANSACTIONS WHERE transaction_type_code = "SALE" GROUP BY investor_id