

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
The fundamental set operations and cartesian product in relational algebra. It covers the concepts of rename operation, union, set-intersection, set difference, and cartesian product. Each operation is defined, and their features and conditions for validity are discussed. The document also includes examples and assumptions for each operation.
Typology: Study notes
1 / 3
This page cannot be seen from the preview
Don't miss anything!


Rename Operation (9/9)
ρ (^) x (E)
returns the expression E under the name X
returns the result of expression E under the name X, and with the
attributes renamed to A 1 , A 2 , …., An.
Union
r ∪ s = {t | t ∈ r or t ∈ s}
Set-Intersection
l r, s have the same arity
l attributes of r and s are compatible
Set Difference
r – s = {t | t ∈ r and t ∉ s}
r and s must have the same arity
attribute domains of r and s must be compatible
Cartesian-Product