modified dollars_sold_procedure.js to match the new sqltomongo class
added queryArray to cycle through needed queries to the SQL database