Database: tracking_share_transactions
Question: Show the maximum and minimum investor id of different transaction types.
SQL: select transaction_type_code ,  max(investor_id) ,  min(investor_id) from transactions group by transaction_type_code