CREATE TABLE table_dev_54 ("id" INT, "ogtt" INT, "anemia" BOOLEAN, "gender" TEXT, "c_peptide_level" FLOAT, "hemoglobin_a1c_hba1c" FLOAT, "hematocrit_hct" FLOAT, "body_mass_index_bmi" FLOAT, "igt" BOOLEAN, "fasting_glucose" INT, "age" FLOAT, "NOUSE" FLOAT)

baseline hb < 12 gm / dl in female , < 13 gm / dl in male
SELECT * FROM table_dev_54 WHERE (hemoglobin_a1c_hba1c < 12 AND gender = 'female') OR (hemoglobin_a1c_hba1c < 13 AND gender = 'male')
SELECT * FROM "table_dev_54" WHERE ("gender" = 'female' OR "gender" = 'male') AND ("gender" = 'male' OR "hemoglobin_a1c_hba1c" < 12) AND "hemoglobin_a1c_hba1c" < 13