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

What is the average age for each gender. Visualize by bar chart.
SELECT gender, AVG(age) FROM Person GROUP BY gender
SELECT "gender", AVG("age") FROM "Person" GROUP BY "gender"