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

How old is the average person for each job Show bar chart, and show by the Y from low to high.
SELECT job, AVG(age) FROM Person GROUP BY job ORDER BY AVG(age)
SELECT "job", AVG("age") FROM "Person" GROUP BY "job" ORDER BY AVG("age") NULLS FIRST