Question: How many female students have milk or egg allergies?
Schema: create table student (stuid varchar, sex varchar, PRIMARY KEY (stuid)); create table has_allergy (stuid varchar, allergy varchar, PRIMARY KEY (stuid))
SQL: select count(*) from has_allergy as t1 join student as t2 on t1.stuid = t2.stuid where t2.sex = "f" and t1.allergy = "milk" or t1.allergy = "eggs"