CREATE TABLE table_dev_44 ("id" INT, "gender" TEXT, "arterial_ph" FLOAT, "systolic_blood_pressure_sbp" INT, "serum_bicarbonate" INT, "anion_gap" INT, "diabetic" TEXT, "diabetic_ketoacidosis" BOOLEAN, "blood_glucose" INT, "diastolic_blood_pressure_dbp" INT, "positive_serum_ketones" BOOLEAN, "serum_osmolarity" INT, "serum_creatinine" FLOAT, "metformin" BOOLEAN, "hyperosmolar_hyperglycemic_state" BOOLEAN, "hypertension" BOOLEAN, "age" FLOAT, "NOUSE" FLOAT)

for subjects with type ii diabetes mellitus: in subjects taking metformin, serum creatinine > 1.4 mg / dl in female subjects and > 1.5 mg / dl in male subjects
SELECT * FROM table_dev_44 WHERE diabetic = 'ii' AND metformin = 1 AND ((gender = 'male' AND serum_creatinine > 1.5) OR (gender = 'female' AND serum_creatinine > 1.4))
SELECT * FROM "table_dev_44" WHERE "diabetic" = 'ii' AND ("gender" = 'female' OR "gender" = 'male') AND ("gender" = 'female' OR "serum_creatinine" > 1.5) AND "metformin" = 1 AND "serum_creatinine" > 1.4