CREATE TABLE table_dev_39 ("id" NUMBER, "gender" CLOB, "random_serum_glucose" NUMBER, "glycated_hemoglobin" BOOLEAN, "heart_disease" BOOLEAN, "stroke" BOOLEAN, "diabetes_mellitus" BOOLEAN, "hgba1c" FLOAT, "diabetic" CLOB, "fasting_blood_glucose_fbg" FLOAT, "fasting_plasma_glucose" NUMBER, "serum_creatinine" FLOAT, "kidney_disease" BOOLEAN, "NOUSE" FLOAT)

heart attack or heart failure, or a stroke
SELECT * FROM table_dev_39 WHERE heart_disease = 1 OR heart_disease = 1 OR stroke = 1
SELECT * FROM "table_dev_39" WHERE "heart_disease" = 1 OR "stroke" = 1