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

What are the allergy types and how many allergies correspond to each one?
SELECT allergytype, COUNT(*) FROM allergy_type GROUP BY allergytype
SELECT "allergytype", COUNT(*) FROM "allergy_type" GROUP BY "allergytype"