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)

have had diabetes for at least 1 year, and in good control ( hba1c < 8.5 % )
SELECT * FROM table_dev_24 WHERE diabetes = 1 AND hemoglobin_a1c_hba1c < 8.5
SELECT * FROM "table_dev_24" WHERE "diabetes" = 1 AND "hemoglobin_a1c_hba1c" < 8.5