CREATE TABLE has_allergy (stuid DECIMAL, allergy TEXT)
CREATE TABLE allergy_type (allergy TEXT, allergytype TEXT)
CREATE TABLE student (stuid DECIMAL, lname TEXT, fname TEXT, age DECIMAL, sex TEXT, major DECIMAL, advisor DECIMAL, city_code TEXT)

Show all allergy types and the number of allergies in each type.
SELECT allergytype, COUNT(*) FROM allergy_type GROUP BY allergytype
SELECT "allergytype", COUNT(*) FROM "allergy_type" GROUP BY "allergytype"