Question: How many females are under age 40?
SQL: select count ( * )  from person where gender  =  'female' and age < 40