CREATE TABLE table_dev_28 ("id" INT, "gender" TEXT, "systolic_blood_pressure_sbp" INT, "consent" BOOLEAN, "hemoglobin_a1c_hba1c" FLOAT, "hematocrit_hct" FLOAT, "fasting_triglycerides" INT, "fasting_blood_glucose_fbg" FLOAT, "diastolic_blood_pressure_dbp" INT, "hba1c" FLOAT, "metformin" BOOLEAN, "age" FLOAT, "NOUSE" FLOAT)

hba1c at screening 6.5 % to 9 % for patients on metformin
SELECT * FROM table_dev_28 WHERE hba1c > 6.5 AND hemoglobin_a1c_hba1c < 9 AND metformin = 1
SELECT * FROM "table_dev_28" WHERE "hba1c" > 6.5 AND "hemoglobin_a1c_hba1c" < 9 AND "metformin" = 1