SCHEMA:
CREATE TABLE Person (gender VARCHAR, age INTEGER)
USER:
What is the average age for each gender?

QUERY:
SELECT AVG(age), gender FROM Person GROUP BY gender