The following slides introduce some database terms.
  | 
  
  | 
 ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sid, lname} is a superkey for the student table.
 sid is a candidate key for the student table.
 NULL; e.g., cno is a foreign key for enrollment table.
 T with Head(T)=A1…An, and a tuple t in T, the restriction of the tuple t is a subset {Ai1, ..., Aik} of {A1, ..., An}, denoted t[Ai1, ..., Aik], as the k-tuple of t in the columns named.
For example, the restriction of the tuple
   
t = (c003, Allied, Dallas, 8.00)from the table customer to the set {cid, cname} is denoted by
t[cid, cname] = (c003, Allied) .  | 
  
  | 
 |||||||||||||||||||||||||||||