Below is the list of tables from the database along with their columns and datatype. Need to generate an accurate SQL query for the question.
Only use the columns present in the respective table. Only use the columns which are required to generate the SQL query. Only use table joins if required and not otherwise.

### Tables ###
TABLE: CREATE TABLE table_dev_44 ( "id" int, "gender" string, "arterial_ph" float, "systolic_blood_pressure_sbp" int, "serum_bicarbonate" int, "anion_gap" int, "diabetic" string, "diabetic_ketoacidosis" bool, "blood_glucose" int, "diastolic_blood_pressure_dbp" int, "positive_serum_ketones" bool, "serum_osmolarity" int, "serum_creatinine" float, "metformin" bool, "hyperosmolar_hyperglycemic_state" bool, "hypertension" bool, "age" float, "NOUSE" float )

### Question ###
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

### Accurate SQL ###

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))