CREATE TABLE table_dev_36 ("id" INT, "gender" TEXT, "prediabetes" BOOLEAN, "leukopenia" INT, "hemoglobin_a1c_hba1c" FLOAT, "cd4_count" INT, "platelets" INT, "hematocrit_hct" FLOAT, "fasting_triglycerides" INT, "hyperlipidemia" BOOLEAN, "lymphopenia" INT, "fasting_ldl_cholesterol" INT, "impaired_fasting_glucose" BOOLEAN, "baseline_hemoglobin_hgb" FLOAT, "fasting_glucose" INT, "NOUSE" FLOAT)

hemoglobin >= 12 gm / dl in male , or >= 11 gm / dl in female ,
SELECT * FROM table_dev_36 WHERE (hemoglobin_a1c_hba1c >= 12 AND gender = 'male') OR (hemoglobin_a1c_hba1c >= 11 AND gender = 'female')
SELECT * FROM "table_dev_36" WHERE ("gender" = 'female' OR "gender" = 'male') AND ("gender" = 'female' OR "hemoglobin_a1c_hba1c" >= 12) AND "hemoglobin_a1c_hba1c" >= 11