how many students are below age 25?
select count(*) from student where age < 25
how many of them are female (sex is F)?
select count(*) from student where sex = 'F' and age < 25