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

Show me mean age by sex in a histogram, display x axis in asc order please.
SELECT Sex, AVG(Age) FROM Student GROUP BY Sex ORDER BY Sex
SELECT "Sex", AVG("Age") FROM "Student" GROUP BY "Sex" ORDER BY "Sex" NULLS FIRST