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

history of glycated hemoglobin ( hgba1c ) 5.7 _ 6.4 % or fasting blood glucose 100 _ 125 mg / dl ( 5.6 _ 6.9 mmol / l )
SELECT * FROM table_dev_39 WHERE glycated_hemoglobin = 1 OR (hgba1c >= 5.7 AND hgba1c <= 6.4) OR (fasting_blood_glucose_fbg >= 100 AND fasting_blood_glucose_fbg <= 125)
SELECT * FROM "table_dev_39" WHERE ("fasting_blood_glucose_fbg" <= 125 OR "glycated_hemoglobin" = 1 OR "hgba1c" <= 6.4) AND ("fasting_blood_glucose_fbg" <= 125 OR "glycated_hemoglobin" = 1 OR "hgba1c" >= 5.7) AND ("fasting_blood_glucose_fbg" >= 100 OR "glycated_hemoglobin" = 1 OR "hgba1c" <= 6.4) AND ("fasting_blood_glucose_fbg" >= 100 OR "glycated_hemoglobin" = 1 OR "hgba1c" >= 5.7)