CREATE TABLE table_dev_51 ("id" INT, "gender" TEXT, "antihypertensive_agents" BOOLEAN, "systolic_blood_pressure_sbp" INT, "hemoglobin_a1c_hba1c" FLOAT, "obesity" BOOLEAN, "diastolic_blood_pressure_dbp" INT, "body_mass_index_bmi" FLOAT, "hypertension" BOOLEAN, "prehypertension" BOOLEAN, "age" FLOAT, "glycosylated_hemoglobin" FLOAT, "NOUSE" FLOAT)

prehypertension or hypertension, with bp > 120 / 80 mmhg but < 145 / 90 mmhg on 2 antihypertensive agents or less
SELECT * FROM table_dev_51 WHERE (prehypertension = 1 OR hypertension = 1) AND ((systolic_blood_pressure_sbp > 120 OR diastolic_blood_pressure_dbp > 80) AND (systolic_blood_pressure_sbp < 145 OR diastolic_blood_pressure_dbp < 90)) AND antihypertensive_agents = 1
SELECT * FROM "table_dev_51" WHERE "antihypertensive_agents" = 1 AND ("diastolic_blood_pressure_dbp" < 90 OR "systolic_blood_pressure_sbp" < 145) AND ("diastolic_blood_pressure_dbp" > 80 OR "systolic_blood_pressure_sbp" > 120) AND ("hypertension" = 1 OR "prehypertension" = 1)