CREATE TABLE table_train_252 ("id" INT, "gender" TEXT, "pregnancy_or_lactation" BOOLEAN, "fasting_plasma_glucose_fpg" FLOAT, "hemoglobin_a1c_hba1c" FLOAT, "hba1c" FLOAT, "serum_creatinine" FLOAT, "metformin" BOOLEAN, "age" FLOAT, "NOUSE" FLOAT)

pregnant female aged 18 _ 40 years old.
SELECT * FROM table_train_252 WHERE pregnancy_or_lactation = 1 AND (age >= 18 AND age <= 40)
SELECT * FROM "table_train_252" WHERE "age" <= 40 AND "age" >= 18 AND "pregnancy_or_lactation" = 1