CREATE TABLE Has_Allergy (StuID INT, Allergy VARCHAR)
CREATE TABLE Student (StuID INT, LName VARCHAR, Fname VARCHAR, Age INT, Sex VARCHAR, Major INT, Advisor INT, city_code VARCHAR)
CREATE TABLE Allergy_Type (Allergy VARCHAR, AllergyType VARCHAR)

What are the average ages for male and female students.
SELECT Sex, AVG(Age) FROM Student GROUP BY Sex
SELECT "Sex", AVG("Age") FROM "Student" GROUP BY "Sex"