[英]What are the candidate keys in the below relation
R(A,B,C,D,E)
Functional Dependencies = {AC->E,B->D,E->A}
R(A,B,C,D,E)
功能依赖关系= {AC->E,B->D,E->A}
I know ABC is a candidate key.Can BC be a candidate key too? 我知道ABC是候选密钥,BC也可以是候选密钥吗?
The definition of "candidate key" is a superkey that does not contain another superkey. “候选键”的定义是不包含另一个超键的超键。 So a candidate key does not contain another candidate key. 因此,候选密钥不包含另一个候选密钥。
I could tell that BC is not a candidate key. 我可以说BC不是候选密钥。 For (ABC)+, you could get the attribute D and E through the functional dependency and thus you get a key by involving all the attributes. 对于(ABC)+,您可以通过功能依赖性获得属性D和E,因此可以通过包含所有属性来获得键。
However, for (BC)+, you could only get D, you cannot get A or E. Thus, BC is not a candidate key. 但是,对于(BC)+,您只能获得D,而不能获得A或E。因此,BC不是候选密钥。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.