CREATE TABLE table_dev_30 ("id" INT, "gender" TEXT, "leukopenia" INT, "cd4_count" INT, "stroke" BOOLEAN, "platelets" INT, "hematocrit_hct" FLOAT, "fasting_triglycerides" INT, "coronary_stenosis" INT, "hyperlipidemia" BOOLEAN, "lymphopenia" INT, "fasting_ldl_cholesterol" INT, "coronary_artery_disease_cad" BOOLEAN, "serum_creatinine" FLOAT, "baseline_hemoglobin_hgb" FLOAT, "peripheral_arterial_disease" BOOLEAN, "myocardial_infarction" BOOLEAN, "NOUSE" FLOAT)

baseline hgb < 11.7 g / dl in female , or < 13 g / dl in male ; lymphopenia ( < 1000 lymphocytes / mcl ) or leukopenia ( < 3000 total leukocytes / mcl ) , or an absolute cd4 count < 500 , or platelets < 150000
SELECT * FROM table_dev_30 WHERE (baseline_hemoglobin_hgb < 11.7 AND gender = 'female') OR (baseline_hemoglobin_hgb < 13 AND gender = 'male') OR lymphopenia < 1000 OR leukopenia < 3000 OR cd4_count < 500 OR platelets < 150000
SELECT * FROM "table_dev_30" WHERE ("baseline_hemoglobin_hgb" < 11.7 OR "cd4_count" < 500 OR "gender" = 'male' OR "leukopenia" < 3000 OR "lymphopenia" < 1000 OR "platelets" < 150000) AND ("baseline_hemoglobin_hgb" < 13 OR "cd4_count" < 500 OR "leukopenia" < 3000 OR "lymphopenia" < 1000 OR "platelets" < 150000) AND ("cd4_count" < 500 OR "gender" = 'female' OR "gender" = 'male' OR "leukopenia" < 3000 OR "lymphopenia" < 1000 OR "platelets" < 150000)