Question: Find the different first names and cities of the students who have allergy to milk or cat.
Schema: create table has_allergy (stuid varchar, allergy varchar, PRIMARY KEY (stuid)); create table student (fname varchar, city_code varchar, stuid varchar, PRIMARY KEY (fname))
SQL: select distinct t1.fname, t1.city_code from student as t1 join has_allergy as t2 on t1.stuid = t2.stuid where t2.allergy = "milk" or t2.allergy = "cat"