Context: CREATE TABLE TRANSACTIONS (transaction_type_code VARCHAR, share_count INTEGER)
Question: Show the maximum and minimum share count of different transaction types.
Answer: SELECT transaction_type_code, MAX(share_count), MIN(share_count) FROM TRANSACTIONS GROUP BY transaction_type_code