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

Return a bar chart on what is the average age for a male in each job?, and could you show Y-axis in ascending order?
SELECT job, AVG(age) FROM Person WHERE gender = 'male' GROUP BY job ORDER BY AVG(age)
SELECT "job", AVG("age") FROM "Person" WHERE "gender" = 'male' GROUP BY "job" ORDER BY AVG("age") NULLS FIRST