Query 1: Each party runs the filter by age locally, and the resulting values are joined in 2PC. Query 2: Each party computes the group by zipcode and average within each zipcode locally, and then they simply combine the values (weighted by the number of samples they each had)