What is πA1, A2, …, An(R)?
This is the projection, that denotes a relation based on R, that only comprimises only attributes A1, A2, A3, …, An from R
E.g. πtitle(Movies) would only return a tuple of movie titles
What is σC(R)?
Returns a new relation on R which comprises only tuples from R that meet condition C
What is a Cartesian product?
A x B = {(a, b) | a in A and b in B}
What is the Natural Join?
You naturally combine the tuples that match along the attributes that are both in the schema of R and S
What is a Theta-Join?
Join if a certain condition is equal
What is the notation to rename?
ρS(B1, B2, …, Bn) (R), this renames R to B
What is a superkey?
Any set of values that is able to uniquely identify a row in a table.
What is functional dependency?
If for any two tuples that agree on their components for {A1, …, An} they must also agreen in {B1, … Bn}
How can A1 … An –> B1 … Bm be rewritten?
A1 … An –> Bi for i = 1, …, m
What is a closure of a set?
It returns what is functionality determined determined by A under S?
What is the algorithm of a closure?
What are the requirements of the minimal basis?
A minimal basis B for S satisfies three conditions:
What is the relation schema of a relation?
It denotes the name of the table and what is in it. E.g. Movie(name, length, studio, year)
How to find a minimal basis?