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)

impaired glucose tolerance or cfrd defined as fasting blood glucose ( fbg ) and post _ prandial blood glucose ( pp ) equal to: fbg < 126 and pp 151 _ 200 , or fbg < 126 and pp > 200, or fbg > 126 and pp > 200.
SELECT * FROM table_dev_34 WHERE impaired_glucose_tolerance = 1 OR cfrd = 1 OR (fasting_blood_glucose_fbg < 126 AND post_prandial_pp >= 151 AND post_prandial_pp <= 200) OR (fasting_blood_glucose_fbg < 126 AND post_prandial_pp > 200) OR (fbg > 126 AND post_prandial_pp > 200)
SELECT * FROM "table_dev_34" WHERE "cfrd" = 1 OR ("fasting_blood_glucose_fbg" < 126 AND "post_prandial_pp" <= 200 AND "post_prandial_pp" >= 151) OR ("fasting_blood_glucose_fbg" < 126 AND "post_prandial_pp" > 200) OR ("fbg" > 126 AND "post_prandial_pp" > 200) OR "impaired_glucose_tolerance" = 1