Hello Brian and thank you for your patience,
Unfortunately, the out-of-box InfoPath never supported parameterized SQL querying and that has always been a bit of an issue.
We have provided two gap-filling solutions over the years - qRules has a ModifySQL command in it and our DBXL Web service support parameterized querying.
Both can be found under products on qdabra (dot) com.
Sorry there is no out-of-box.