The Distinct logical operator scans the input, removing duplicates.
Eliminating Duplicates with DISTINCT