Multiple-query optimization | Synapse