CREATE TABLE table_dev_24 ("id" INT, "active_ocular_disease" BOOLEAN, "systolic_blood_pressure_sbp" INT, "active_infection" BOOLEAN, "hemoglobin_a1c_hba1c" FLOAT, "body_weight" FLOAT, "diabetic" TEXT, "seasonal_allergy" BOOLEAN, "retinal_nerve_disease" BOOLEAN, "diastolic_blood_pressure_dbp" INT, "diabetes" BOOLEAN, "glycohemoglobin" FLOAT, "fasting_insulin" INT, "glaucoma" BOOLEAN, "optic_nerve_disease" BOOLEAN, "body_mass_index_bmi" FLOAT, "dry_eye_symptoms" BOOLEAN, "NOUSE" FLOAT)

diagnosed with type ii diabetes defined as a glycohemoglobin between 7.5 % and 10.5 % , and fasting insulin level < 40 ( iu / ml ) .
SELECT * FROM table_dev_24 WHERE diabetic = 'ii' OR (glycohemoglobin >= 7.5 AND glycohemoglobin <= 10.5 AND fasting_insulin < 40)
SELECT * FROM "table_dev_24" WHERE ("diabetic" = 'ii' OR "fasting_insulin" < 40) AND ("diabetic" = 'ii' OR "glycohemoglobin" <= 10.5) AND ("diabetic" = 'ii' OR "glycohemoglobin" >= 7.5)