CREATE TABLE Person (name VARCHAR, age INT, city TEXT, gender TEXT, job TEXT)
CREATE TABLE PersonFriend (name VARCHAR, friend VARCHAR, year INT)

Return a bar chart on what is the average age for each gender?, and sort X in descending order please.
SELECT gender, AVG(age) FROM Person GROUP BY gender ORDER BY gender DESC
SELECT "gender", AVG("age") FROM "Person" GROUP BY "gender" ORDER BY "gender" DESC NULLS LAST