CREATE TABLE table_train_240 ("id" INT, "anemia" BOOLEAN, "gender" TEXT, "systolic_blood_pressure_sbp" INT, "hemoglobin_a1c_hba1c" FLOAT, "estimated_glomerular_filtration_rate_egfr" INT, "diastolic_blood_pressure_dbp" INT, "insulin_requirement" FLOAT, "kidney_disease" BOOLEAN, "body_mass_index_bmi" FLOAT, "hypertension" BOOLEAN, "NOUSE" FLOAT)

anemia ( hemoglobin: male < 11 g / dl; female < 10 g / dl ) .
SELECT * FROM table_train_240 WHERE anemia = 1 OR (gender = 'male' AND hemoglobin_a1c_hba1c < 11) OR (gender = 'female' AND hemoglobin_a1c_hba1c < 10)
SELECT * FROM "table_train_240" WHERE ("anemia" = 1 OR "gender" = 'female' OR "gender" = 'male') AND ("anemia" = 1 OR "gender" = 'male' OR "hemoglobin_a1c_hba1c" < 10) AND ("anemia" = 1 OR "hemoglobin_a1c_hba1c" < 11)