CREATE TABLE people (People_ID INT, Sex TEXT, Name TEXT, Date_of_Birth TEXT, Height FLOAT, Weight FLOAT)
CREATE TABLE candidate (Candidate_ID INT, People_ID INT, Poll_Source TEXT, Date TEXT, Support_rate FLOAT, Consider_rate FLOAT, Oppose_rate FLOAT, Unsure_rate FLOAT)

A bar chart showing the average weight for each gender, and display x-axis in ascending order.
SELECT Sex, AVG(Weight) FROM people GROUP BY Sex ORDER BY Sex
SELECT "Sex", AVG("Weight") FROM "people" GROUP BY "Sex" ORDER BY "Sex" NULLS FIRST