CREATE TABLE table_dev_3 ("id" INT, "bleeding" INT, "hemoglobin_a1c_hba1c" FLOAT, "trauma" BOOLEAN, "diabetic" TEXT, "creatinine_clearance_cl" FLOAT, "surgery" BOOLEAN, "autonomic_dysfunction" BOOLEAN, "urine_protein" INT, "proteinuria" INT, "body_mass_index_bmi" FLOAT, "NOUSE" FLOAT)

surgery or trauma with significant blood loss ( more than 500 ml ) within the last 3 months prior to trial start
SELECT * FROM table_dev_3 WHERE surgery = 1 OR (trauma = 1 AND bleeding > 500)
SELECT * FROM "table_dev_3" WHERE ("bleeding" > 500 OR "surgery" = 1) AND ("surgery" = 1 OR "trauma" = 1)