Found: the relational algebra to tackle the problem outlined in part 3.
This is based on a solution to a similar problem found in Database Management Systems, Third Edition, though, unfortunately, that book prints a solution that is not relational algebra at all, as it relies on the order in which results are returned (relational algebra is a form of set algebra and sets have no order).
(Rename the attributes in TEMP1 – this is the step that is broken in the book)
Related articles
- Solving a relational query: part 4 (cartesianproduct.wordpress.com)
- Solving a relational query: part 3 (cartesianproduct.wordpress.com)
- Solving a relational query: part 1 (cartesianproduct.wordpress.com)
- Solving a relational query: part 2 (cartesianproduct.wordpress.com)
- Relational algebra problem (cartesianproduct.wordpress.com)
- Types of Database Management Systems (brighthub.com)