How many different allergy types exist?
CREATE TABLE Allergy_type (allergytype VARCHAR)
SELECT COUNT(DISTINCT allergytype) FROM Allergy_type
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Allergy_type (allergytype VARCHAR) Question: How many different allergy types exist? [/INST] SELECT COUNT(DISTINCT allergytype) FROM Allergy_type </s>