Relational Algebra Flashcards
Relational Algebra strikes a good balance between expressive ______ and _______
power and efficiency
The 3 standard set-theoretic binary operations are _____, ______, and _______ ________
union, difference, Cartesian product
2 unary operations on relations include ______ and _______
projection, selection
One special operation on relations is ______
renaming
A ________ π_(A1,…,An)(R) chooses columns
projection
A ________ σ_θ(R) chooses rows satisfying condition θ
selection
A domain of values must be totally _______ to use comparison operators
ordered
We use $4 when we do not have attribute names. What does this mean?
Select attribute 4 from a relation
It is more efficient to combine multiple _______
selections
It is more efficient to nest ______ within ______
selections, projections
The cardinality of R x S is…
card(R) * card(S)
The arity of R x S is…
arity(R) + arity(S)
A _________ ρA->A’ changes the name a an attribute
renaming
A _________ _____ |>
natural join
A _____ combines all tuples in set together into one table
union