CREATE TABLE table_train_132 ("id" NUMBER, "loss_of_consciousness" BOOLEAN, "deep_venous_thrombosis" BOOLEAN, "unstable_angina" BOOLEAN, "thromboembolic_vascular_disease" BOOLEAN, "head_injury" BOOLEAN, "stroke" BOOLEAN, "cerebrovascular_disease" BOOLEAN, "mental_retardation" BOOLEAN, "psychiatric_disease" BOOLEAN, "modified_hachinski_ischemia_scale" NUMBER, "systemic_illness" BOOLEAN, "mental_illness" BOOLEAN, "hydrocephalus" BOOLEAN, "mri" BOOLEAN, "psychotic_disorder" BOOLEAN, "pulmonary_embolus" BOOLEAN, "arrythmias" BOOLEAN, "lacunar_infarcts" BOOLEAN, "bipolar_disorder" BOOLEAN, "cva" BOOLEAN, "cardiac_disease" BOOLEAN, "brain_damage" BOOLEAN, "neurological_disease" BOOLEAN, "seizure_disorder" BOOLEAN, "vascular_dementia" BOOLEAN, "organ_failure" BOOLEAN, "parkinson_disease" BOOLEAN, "lewy_body_disease" BOOLEAN, "hypertension" BOOLEAN, "NOUSE" FLOAT)

history of mental illness within one year or history of significant untreated cardiac or thromboembolic vascular disease ( arrythmias, unstable angina, cva, deep venous thrombosis, or pulmonary embolus ) .
SELECT * FROM table_train_132 WHERE mental_illness = 1 OR cardiac_disease = 1 OR thromboembolic_vascular_disease = 1 OR (arrythmias = 1 OR unstable_angina = 1 OR cva = 1 OR deep_venous_thrombosis = 1 OR pulmonary_embolus = 1)
SELECT * FROM "table_train_132" WHERE "arrythmias" = 1 OR "cardiac_disease" = 1 OR "cva" = 1 OR "deep_venous_thrombosis" = 1 OR "mental_illness" = 1 OR "pulmonary_embolus" = 1 OR "thromboembolic_vascular_disease" = 1 OR "unstable_angina" = 1