CREATE TABLE table_dev_25 ("id" INT, "gender" TEXT, "pregnancy_or_lactation" BOOLEAN, "systolic_blood_pressure_sbp" INT, "hemoglobin_a1c_hba1c" FLOAT, "diastolic_blood_pressure_dbp" INT, "alcohol_abuse" BOOLEAN, "hypertension" BOOLEAN, "NOUSE" FLOAT)

for female a hemoglobin < 11.5 g / dl, and for male a hemoglobin < 12.5 g / dl.
SELECT * FROM table_dev_25 WHERE (gender = 'female' AND hemoglobin_a1c_hba1c < 11.5) OR (gender = 'male' AND hemoglobin_a1c_hba1c < 12.5)
SELECT * FROM "table_dev_25" WHERE ("gender" = 'female' OR "gender" = 'male') AND ("gender" = 'male' OR "hemoglobin_a1c_hba1c" < 11.5) AND "hemoglobin_a1c_hba1c" < 12.5