CREATE TABLE table_dev_39 ("id" NUMBER, "gender" CLOB, "random_serum_glucose" NUMBER, "glycated_hemoglobin" BOOLEAN, "heart_disease" BOOLEAN, "stroke" BOOLEAN, "diabetes_mellitus" BOOLEAN, "hgba1c" FLOAT, "diabetic" CLOB, "fasting_blood_glucose_fbg" FLOAT, "fasting_plasma_glucose" NUMBER, "serum_creatinine" FLOAT, "kidney_disease" BOOLEAN, "NOUSE" FLOAT)

kidney disease ( serum creatinine > 1.5 mg / dl in male , > 1.3 mg / dl in female )
SELECT * FROM table_dev_39 WHERE kidney_disease = 1 OR (serum_creatinine > 1.5 AND gender = 'male') OR (serum_creatinine > 1.3 AND gender = 'female')
SELECT * FROM "table_dev_39" WHERE ("gender" = 'female' OR "gender" = 'male' OR "kidney_disease" = 1) AND ("gender" = 'female' OR "kidney_disease" = 1 OR "serum_creatinine" > 1.5) AND ("kidney_disease" = 1 OR "serum_creatinine" > 1.3)