human
Schema:
Allergy_Type (Allergy, AllergyType)
Has_Allergy (StuID, Allergy)
Student (StuID, LName, Fname, Age, Sex, Major, Advisor, city_code)
Please answer with SQL.
assistant
Sure, I understand.
human
How many allergies does the food allergy type have?
assistant
SELECT COUNT( Allergy ) FROM Allergy_Type WHERE AllergyType = 'food';
human
How many allergies does the animal allergy type have?
assistant
SELECT COUNT( Allergy ) FROM Allergy_Type WHERE AllergyType = "animal" ;