CREATE TABLE allergy_type (allergy TEXT, allergytype TEXT)
CREATE TABLE student (stuid DECIMAL, lname TEXT, fname TEXT, age DECIMAL, sex TEXT, major DECIMAL, advisor DECIMAL, city_code TEXT)
CREATE TABLE has_allergy (stuid DECIMAL, allergy TEXT)

What are the first name and gender of the students who have allergy to milk but can put up with cats?
SELECT fname, sex FROM student WHERE stuid IN (SELECT stuid FROM has_allergy WHERE allergy = "Milk" EXCEPT SELECT stuid FROM has_allergy WHERE allergy = "Cat")
SELECT "fname", "sex" FROM "student" WHERE "stuid" IN (SELECT "stuid" FROM "has_allergy" WHERE "Milk" = "allergy" EXCEPT SELECT "stuid" FROM "has_allergy" WHERE "Cat" = "allergy")