CREATE TABLE table_dev_32 ("id" NUMBER, "post_challenge_capillary_glucose" NUMBER, "gender" CLOB, "blood_donation" BOOLEAN, "untreated_hyperlipidemia" BOOLEAN, "hemoglobin_a1c_hba1c" FLOAT, "hematocrit_hct" FLOAT, "fasting_triglycerides" NUMBER, "fasting_blood_glucose_fbg" FLOAT, "fasting_plasma_glucose" NUMBER, "fasting_ldl_cholesterol" NUMBER, "dietary_modification" BOOLEAN, "baseline_hemoglobin_hgb" FLOAT, "body_mass_index_bmi" FLOAT, "metformin" BOOLEAN, "NOUSE" FLOAT)

baseline hemoglobin < 10.5 g / dl in female , or < 12.5 g / dl in male . blood donation within 30 days of the study
SELECT * FROM table_dev_32 WHERE (baseline_hemoglobin_hgb < 10.5 AND gender = 'female') OR (baseline_hemoglobin_hgb < 12.5 AND gender = 'male') AND blood_donation = 1
SELECT * FROM "table_dev_32" WHERE ("baseline_hemoglobin_hgb" < 10.5 OR "gender" = 'male') AND "baseline_hemoglobin_hgb" < 12.5 AND "blood_donation" = 1 AND ("gender" = 'female' OR "gender" = 'male')