Primary Key
A set of one or more attributes that uniquely identifies each tuple within a relation, enforcing entity integrity.
📜
The statement of the theorem
Let be a relation with schema . A set of attributes is a candidate key if and only if the projection of onto , denoted , is a set of unique tuples. That is, for any two tuples , if , then .