CREATE TABLE table_dev_39 ("id" INT, "gender" TEXT, "random_serum_glucose" INT, "glycated_hemoglobin" BOOLEAN, "heart_disease" BOOLEAN, "stroke" BOOLEAN, "diabetes_mellitus" BOOLEAN, "hgba1c" FLOAT, "diabetic" TEXT, "fasting_blood_glucose_fbg" FLOAT, "fasting_plasma_glucose" INT, "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