CREATE TABLE table_test_21 ("id" INT, "gender" TEXT, "systolic_blood_pressure_sbp" INT, "tachycardia" INT, "body_weight" FLOAT, "renal_disease" BOOLEAN, "anaemia" BOOLEAN, "creatinine_clearance_cl" FLOAT, "estimated_glomerular_filtration_rate_egfr" INT, "cardiogenic_shock" BOOLEAN, "history_of_dialysis" BOOLEAN, "prior_creatinine" FLOAT, "severe_bradycardia" BOOLEAN, "diastolic_blood_pressure_dbp" INT, "hypotension" BOOLEAN, "heart_rate" INT, "serum_creatinine" FLOAT, "hb" FLOAT, "renal_transplantation" BOOLEAN, "hypertension" BOOLEAN, "age" FLOAT, "NOUSE" FLOAT)

known renal insufficiency ( prior s _ creatinine > 2.5 mg % ( > 220 umol / l ) for male and > 2 mg % ( > 175 umol / l ) ) for female
SELECT * FROM table_test_21 WHERE renal_disease = 1 OR (gender = 'male' AND prior_creatinine > 2.5) OR (gender = 'female' AND prior_creatinine > 2)
SELECT * FROM "table_test_21" WHERE ("gender" = 'female' OR "gender" = 'male' OR "renal_disease" = 1) AND ("gender" = 'female' OR "prior_creatinine" > 2.5 OR "renal_disease" = 1) AND ("prior_creatinine" > 2 OR "renal_disease" = 1)