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

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