CREATE TABLE table_train_127 ("id" INT, "depression" BOOLEAN, "mini_mental_state_examination_mmse" INT, "back_pain" BOOLEAN, "renal_disease" BOOLEAN, "osteoarthritis" BOOLEAN, "hamilton_depression_scale_hds" INT, "liver_disease" BOOLEAN, "painful_condition" BOOLEAN, "other_chronic_musculoskeletal_pain" BOOLEAN, "major_depression" BOOLEAN, "NOUSE" FLOAT)

subjects with a primary diagnosis of depression or with a major depression diagnosis.
SELECT * FROM table_train_127 WHERE depression = 1 OR major_depression = 1
SELECT * FROM "table_train_127" WHERE "depression" = 1 OR "major_depression" = 1