darek_dade
New member
- Local time
- Yesterday, 23:18
- Joined
- Apr 9, 2009
- Messages
- 3
Hello there
I am having a tough time figuring out how to do one of the questions on my assignment.
Given schema R with attributes {A,B,C,D,E,F,G,H} and functional dependencies:
{
G->B
AB->D
DE->C
GF->H
BD->E
AH->F
CE->A
AD->H
GF->D
}
I have to prove that the following decomposition:
R(A,B,C,D), S(C,D,E,F), and T(E,F,G,H) is in BCNF
First I need to find FD's for R, S and R and then check whether some FD violates BCNF
This is how I approached it
R(A,B,C,D; {AB->CD})
AB->CD because (AB)+ (closure) = ABDECHF (has C and D)
S(C,D,E,F; {DE->CF})
DE->CF because (DE)+ = DECAHF
T(E,F,G,H; {}) - here I have no idea how to find any FD
Does my solution for R and S seems plausable? How would you find a FD for T?
Any help is greatly appreciated!
I am having a tough time figuring out how to do one of the questions on my assignment.
Given schema R with attributes {A,B,C,D,E,F,G,H} and functional dependencies:
{
G->B
AB->D
DE->C
GF->H
BD->E
AH->F
CE->A
AD->H
GF->D
}
I have to prove that the following decomposition:
R(A,B,C,D), S(C,D,E,F), and T(E,F,G,H) is in BCNF
First I need to find FD's for R, S and R and then check whether some FD violates BCNF
This is how I approached it
R(A,B,C,D; {AB->CD})
AB->CD because (AB)+ (closure) = ABDECHF (has C and D)
S(C,D,E,F; {DE->CF})
DE->CF because (DE)+ = DECAHF
T(E,F,G,H; {}) - here I have no idea how to find any FD
Does my solution for R and S seems plausable? How would you find a FD for T?
Any help is greatly appreciated!