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

How many students does each advisor have?
SELECT advisor, COUNT(*) FROM student GROUP BY advisor
SELECT "advisor", COUNT(*) FROM "student" GROUP BY "advisor"