CREATE TABLE table_train_2 ("id" INT, "gender" TEXT, "pregnancy_or_lactation" BOOLEAN, "diabetic" TEXT, "electro_systolic_process" BOOLEAN, "degenerative_pathology" BOOLEAN, "neurological_disease" BOOLEAN, "cardiomyopathy" BOOLEAN, "NOUSE" FLOAT)

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