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

How old is the average person for each job Show bar chart, list X-axis in descending order.
SELECT job, AVG(age) FROM Person GROUP BY job ORDER BY job DESC
SELECT "job", AVG("age") FROM "Person" GROUP BY "job" ORDER BY "job" DESC NULLS LAST