A super key is a set of one or more attributes in a schema that uniquely identifies a tuple.
Formally, a set of attributes
Equivalently,
Every relation always contains at least one super key: the trivial key, which is the set of all its attributes.
Consider a table Employee with the following attributes
EmployeeID: Unique ID assigned by the companySSN: Social Security NumberName: Name of the employeeDepartment: The department the employee works atSome examples of super keys are the following sets:
{EmployeeID}: Is unique for every Employee{SSN}: Like the ID is unique for every Employee{EmployeeID, Name}: Via reflexivity as Name is redundant.{EmployeeID, SSN, Name, Department}: The trivial super key which already contains all columns.