CREATE TABLE table_train_28 ("id" INT, "gender" TEXT, "pregnancy_or_lactation" BOOLEAN, "systemic_antifungal_therapy" BOOLEAN, "child_pugh_class" TEXT, "invasive_candida_infection" BOOLEAN, "age" FLOAT, "NOUSE" FLOAT)

pregnant or lactating female
SELECT * FROM table_train_28 WHERE pregnancy_or_lactation = 1 AND gender = 'female'
SELECT * FROM "table_train_28" WHERE "gender" = 'female' AND "pregnancy_or_lactation" = 1