CREATE TABLE Person (name VARCHAR, age INT, city TEXT, gender TEXT, job TEXT)
CREATE TABLE PersonFriend (name VARCHAR, friend VARCHAR, year INT)

Find the number of people who is under 40 for each gender. Show the proportion.
SELECT gender, COUNT(*) FROM Person WHERE age < 40 GROUP BY gender
SELECT "gender", COUNT(*) FROM "Person" WHERE "age" < 40 GROUP BY "gender"