Show all allergies with number of students affected.
CREATE TABLE Has_allergy (Allergy VARCHAR)
SELECT Allergy, COUNT(*) FROM Has_allergy GROUP BY Allergy
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Has_allergy (Allergy VARCHAR) Question: Show all allergies with number of students affected. [/INST] SELECT Allergy, COUNT(*) FROM Has_allergy GROUP BY Allergy </s>