kandidatnøglerne
Kandidatnøglerne, or candidate keys, are a fundamental concept in relational database theory. A candidate key is an attribute or a set of attributes that can uniquely identify a tuple (row) within a relation (table). This means that for any given candidate key, no two rows in the table can have the same values for that key.
A relation can have multiple candidate keys. Among these candidate keys, one is chosen as the primary
The concept of candidate keys ensures data integrity by preventing duplicate records. By defining and enforcing