Candidate key¶
A candidate key consists of one or more attributes and meets the following requirements:
- Unique: The value of the key defines uniquely one instance of a concepts. There are no double values.
- Non-volatile: (Almost) doesn't change.
- Minimal: Contains only the elements needed.
There are two kinds of candidate keys:
- primary key
- alternative key