Keys

Superkey

Given a relation R with Attributes {A1,...,Ak} and subset K of R, then K is a superkey of R if the FD KR holds on any instance of R

Candidate Key

Given a relation R with attributes {A1,,Ak} and subset K of R, then K is a candidate key of R, and no strict subset of K is a superkey

Primary Key

Given a relation R with attributes {A1,,Ak}, the primary key of R is a distinguished candidate key of R chosen by the DBA group