CREATE TABLE table_dev_34 ("id" INT, "gender" TEXT, "heart_disease" BOOLEAN, "body_weight" FLOAT, "hematocrit_hct" FLOAT, "fasting_blood_glucose_fbg" FLOAT, "hyperlipidemia" BOOLEAN, "systemic_illness" BOOLEAN, "angina" BOOLEAN, "serum_ldl" INT, "clinically_significant_atherosclerotic_vascular_disease" BOOLEAN, "impaired_glucose_tolerance" BOOLEAN, "fbg" INT, "post_prandial_pp" INT, "significant_nephropathy" BOOLEAN, "serum_tg" INT, "proteinuria" INT, "body_mass_index_bmi" FLOAT, "plasma_creatinine" FLOAT, "cfrd" BOOLEAN, "NOUSE" FLOAT)

history of a ) significant nephropathy, ( i.e., plasma creatinine > 1.4 mg / dl in female and 1.5 mg / dl in male , and / or proteinuria ) ; b ) clinically significant atherosclerotic vascular disease ( e.g., history of heart attack or angina ) ; c ) a known systemic illness.
SELECT * FROM table_dev_34 WHERE significant_nephropathy = 1 OR ((plasma_creatinine > 1.4 AND gender = 'female') OR (gender = 'male' AND plasma_creatinine > 1.4) OR proteinuria = 1) OR clinically_significant_atherosclerotic_vascular_disease = 1 OR heart_disease = 1 OR angina = 1 OR systemic_illness = 1
SELECT * FROM "table_dev_34" WHERE ("angina" = 1 OR "clinically_significant_atherosclerotic_vascular_disease" = 1 OR "gender" = 'female' OR "gender" = 'male' OR "heart_disease" = 1 OR "proteinuria" = 1 OR "significant_nephropathy" = 1 OR "systemic_illness" = 1) AND ("angina" = 1 OR "clinically_significant_atherosclerotic_vascular_disease" = 1 OR "heart_disease" = 1 OR "plasma_creatinine" > 1.4 OR "proteinuria" = 1 OR "significant_nephropathy" = 1 OR "systemic_illness" = 1)