CREATE TABLE table_test_8 ("id" NUMBER, "anemia" BOOLEAN, "intra_aortic_balloon_pump_iabp" BOOLEAN, "systolic_blood_pressure_sbp" NUMBER, "intravenous_pressors" BOOLEAN, "fever" BOOLEAN, "hemoglobin_a1c_hba1c" FLOAT, "heart_disease" BOOLEAN, "vasopressors" BOOLEAN, "renal_disease" BOOLEAN, "temperature" FLOAT, "creatinine_clearance_cl" FLOAT, "planned_left_main_intervention" BOOLEAN, "estimated_glomerular_filtration_rate_egfr" NUMBER, "cardiogenic_shock" BOOLEAN, "platelet_count" FLOAT, "non_responsive_to_fluids" BOOLEAN, "infection_with_fever" BOOLEAN, "hypotension" BOOLEAN, "serum_creatinine" FLOAT, "unprotected_left_main_stenosis" NUMBER, "low_ejection_fraction" NUMBER, "hb" FLOAT, "NOUSE" FLOAT)

subjects with a known low ejection fraction of less than 40 % or any previous history of heart failure.
SELECT * FROM table_test_8 WHERE low_ejection_fraction < 40 OR heart_disease = 1
SELECT * FROM "table_test_8" WHERE "heart_disease" = 1 OR "low_ejection_fraction" < 40