Conditional aggregation

Hard5 min read