Context: CREATE TABLE TRANSACTIONS (transaction_type_code VARCHAR)
Question: How many distinct transaction types are used in the transactions?
Answer: SELECT COUNT(DISTINCT transaction_type_code) FROM TRANSACTIONS