query: Pull parameter binding into a separate function
query: Pull parameter binding into a separate function

- Pull parameter binding out of make_queries() into its own function

cmusatyalab/openisr,cmusatyalab/openisr,cmusatyalab/openisr,cmusatyalab/openisr,cmusatyalab/openisr