Output-Optimal Algorithms for Join-Aggregate Queries | Synapse