CREATE TABLE table_dev_21 ("id" NUMBER, "gender" CLOB, "leukopenia" NUMBER, "dialysis" BOOLEAN, "hemoglobin_a1c_hba1c" FLOAT, "cd4_count" NUMBER, "platelets" NUMBER, "renal_disease" BOOLEAN, "fasting_triglycerides" NUMBER, "hyperlipidemia" BOOLEAN, "lymphopenia" NUMBER, "hba1c" FLOAT, "fasting_ldl_cholesterol" NUMBER, "serum_creatinine" FLOAT, "baseline_hemoglobin_hgb" FLOAT, "triglyceride_tg" FLOAT, "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_21 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_21" 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)