|< < 22 > >|

Combining operators

Sort, Project, and Unique

Eliminate duplicates during Sort

So, generalize Sort some more:

  • Add a boolean argument indicating whether duplicates should be eliminated.

  • Eliminate duplicates during the sort producing runs.

  • Eliminate duplicates during the merge: while promoted record = current record, keep promoting.

|< < 22 > >|