Below is the list of tables from the database along with their columns and datatype. Need to generate an accurate SQL query for the question.
Only use the columns present in the respective table. Only use the columns which are required to generate the SQL query. Only use table joins if required and not otherwise.

### Tables ###
TABLE: CREATE TABLE table_dev_47 ( "id" int, "gender" string, "gestational_diabetes" bool, "systolic_blood_pressure_sbp" int, "leukopenia" int, "hemoglobin_a1c_hba1c" float, "cd4_count" int, "platelets" int, "diabetic" string, "elevated_blood_pressure" bool, "diastolic_blood_pressure_dbp" int, "lymphopenia" int, "diabetes" bool, "serum_creatinine" float, "prior_elevated_fasting_glucose" bool, "baseline_hemoglobin_hgb" float, "body_mass_index_bmi" float, "age" float, "NOUSE" float )

### Question ###
subjects will be adults, > 18 years, with diabetes, who become part of the nyc registry by virtue of having a reported hba1c > 7 % to the dohmh.

### Accurate SQL ###

SELECT * FROM table_dev_47 WHERE age > 18 AND (diabetes = 1 OR hemoglobin_a1c_hba1c > 7)