The Projection Operation (cont)
The projection operation needs to:
- scan the entire relation as input
- already seen how to do scanning
- remove unwanted attributes in output tuples
- implementation depends on tuple internal structure
- eliminate any duplicates produced
- two approaches: sorting or hashing
Example of task 2:
|