Database: network_2
Question: How many people are under 40 for each gender?
SQL:
SELECT count(*) ,  gender FROM Person WHERE age  <  40 GROUP BY gender