Query Rewrites: Predicate Pushdown (through grouping)
From Reserves R, Sailors S
From Reserves R, Sailors S
- For each boat, find the maximal age of sailors who’ve reserved it.
- Advantage: the size of the join will be smaller.
- Requires transformation rules specific to the grouping/aggregation
- Won’t work if we replace Max by Min.