Orthogonal optimization of subqueries and aggregation
Eager aggregation and lazy aggregation