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

What is average age of male for different job title?
SELECT AVG(age), job FROM person WHERE gender = 'male' GROUP BY job
SELECT AVG("age"), "job" FROM "person" WHERE "gender" = 'male' GROUP BY "job"