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

What are the average ages for male and female students?
SELECT AVG(age), sex FROM student GROUP BY sex
SELECT AVG("age"), "sex" FROM "student" GROUP BY "sex"