Schema: CREATE TABLE Person (job VARCHAR, age INTEGER, gender VARCHAR)
Question: What is average age of male for different job title?
SQL: SELECT AVG(age), job FROM Person WHERE gender = 'male' GROUP BY job