CREATE TABLE personfriend (name CLOB, friend CLOB, year NUMBER)
CREATE TABLE person (name CLOB, age NUMBER, city CLOB, gender CLOB, job CLOB)

How old is each gender, on average?
SELECT AVG(age), gender FROM person GROUP BY gender
SELECT AVG("age"), "gender" FROM "person" GROUP BY "gender"