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

What is average age for different job title Visualize by bar chart, rank total number from high to low order.
SELECT job, AVG(age) FROM Person GROUP BY job ORDER BY AVG(age) DESC
SELECT "job", AVG("age") FROM "Person" GROUP BY "job" ORDER BY AVG("age") DESC NULLS LAST