How many distinct transaction types are used in the transactions?
CREATE TABLE TRANSACTIONS (transaction_type_code VARCHAR)
SELECT COUNT(DISTINCT transaction_type_code) FROM TRANSACTIONS
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE TRANSACTIONS (transaction_type_code VARCHAR) Question: How many distinct transaction types are used in the transactions? [/INST] SELECT COUNT(DISTINCT transaction_type_code) FROM TRANSACTIONS </s>