CREATE TABLE Student (fname VARCHAR2, city_code VARCHAR2, stuid VARCHAR2)
CREATE TABLE Has_Allergy (stuid VARCHAR2, Allergy VARCHAR2)

Find the different first names and cities of the students who have allergy to milk or cat.
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"
SELECT DISTINCT "T1"."fname", "T1"."city_code" FROM "Student" "T1" JOIN "Has_Allergy" "T2" ON ("Cat" = "T2"."Allergy" OR "Milk" = "T2"."Allergy") AND "T1"."stuid" = "T2"."stuid"