- A key is an attribute or set of attributes that uniquely identifies tuples in a relation. There are different types of keys including super keys, candidate keys, primary keys, alternate keys, composite keys, and foreign keys. - A super key identifies tuples but may not uniquely, a candidate key uniquely identifies tuples, and a primary key is the main candidate key selected by the designer. Alternate keys are other candidate keys not used as primary, and a composite key uses multiple attributes as the primary key. A foreign key attributes match a primary key in another relation.