Relation R
consists of columns {A,B,C,D}
. A
uniquely defines a tuple. So does B
. A
and B
are candidate keys, since they are minimal. What about a set {A,B}
? {A,B}
together uniquely defines a tuple, but it is not minimal.
What is the term for {A,B}
. Usually non-minimal candidate keys are called super keys. Is there a special name for a union of candidate keys?
EDIT:
Excuse me for imprecise question. It can indeed be clearer. As far as I understand, key == candidate key == minimal set of attributes that uniquely define a tuple.