On the multiple-query optimization problem | Synapse