Database: wedding
Question: How many female people are older than 30 in our record?
SQL:
SELECT count(*) FROM people WHERE is_male  =  'F' AND age  >  30