0
我有闖入BCNF這是一個問題:奇BCNF分解本人以往的考試
Relation: R[A E P M N S T L]
FD's:
A -> EM,
A -> L,
M -> ST,
M -> N,
S -> T,
E -> P,
P -> E,
L -> A
這一次是在我過去的考試之一,我真的不知道如何解決它。
-------------- BCNF ALGORITHM ------------
1. Take a FD that violates BCNF.
2. Decompose the FD to two other relations
3. First relation: The whole FD
4. Second relation: The rest of the Relation + the left hand side of the chosen FD
5. Iterate until all the new relations have key on its left hand side
-------------- BCNF ALGORITHM ------------
And I also tried another one that is basically the same, but written in a different way:
X->Y: R1({X}+), R2(R - {X}+ ; X) (Relation minus {X}+ (XY in this case), plus X.
到目前爲止,我在這裏:
我的女人(珍妮弗·威登)是誰寫的我們當然文學學會了這對coursera 顯然,A是關鍵,所以它的文件描述符已經在BCNF。問題是,我可以擦除任何多餘的FD嗎?如果是這樣,拇指規則是什麼?
R1(MST) <-- BCNF.
R2(A E P M N L)
R3()
並不知道該去哪裏。