What kind of FD or MVD exists in 5NF?

China☆狼群 提交于 2019-12-22 13:46:25

问题


From the "A Simple Guide to Five Normal Forms in Relational Database Theory":

Fourth and fifth normal forms both deal with combinations of multivalued facts. One difference is that the facts dealt with under fifth normal form are not independent, in the sense discussed earlier.

Following rule has been mentioned:

Suppose that a certain rule was in effect: if an agent sells a certain product, and he represents a company making that product, then he sells that product for that company.

ACP
-----------------------------
| AGENT | COMPANY | PRODUCT |
|-------+---------+---------|
| Smith | Ford    | car     | 
| Smith | Ford    | truck   | 
| Smith | GM      | car     | 
| Smith | GM      | truck   | 
| Jones | Ford    | car     | 
| Jones | Ford    | truck   | 
| Brown | Ford    | car     | 
| Brown | GM      | car     | 
| Brown | Totota  | car     | 
| Brown | Totota  | bus     | 
-----------------------------

Will the following MVDs exist in the ACP relation as cyclic MVDs?

  1. agent->->company
  2. agent->->product
  3. company->->product

So, can we say that the multi-valued facts in ACP are not independent facts because of the rule enforced in the relation and because of that there is no tuple generating dependency which exist in 4NF? I am not very clear about this.

来源:https://stackoverflow.com/questions/32312427/what-kind-of-fd-or-mvd-exists-in-5nf

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!