CREATE TABLE PersonFriend (name VARCHAR2, friend VARCHAR2, year NUMBER)
CREATE TABLE Person (name VARCHAR2, age NUMBER, city CLOB, gender CLOB, job CLOB)

How old is each gender, on average Plot them as bar chart, and rank from high to low by the gender.
SELECT gender, AVG(age) FROM Person GROUP BY gender ORDER BY gender DESC
SELECT "gender", AVG("age") FROM "Person" GROUP BY "gender" ORDER BY "gender" DESC