in Databases
1,484 views
2 votes
2 votes

in Databases
1.5k views

4 Comments

i don't think we have to use JOIN specifically just need to do union of FD's. like from SQL viewpoint we can use AB and uniquely identify C right? it doesn't matter if tables are different because B-->D and D--->B
0
0
I think I need to revisit my concepts. Thanks everyone.

Future comments are welcome.
1
1

Update: If you are reading this discussion then please note that what others have pointed out is absolutely correct.

i.e. dependencies are preserved in both decompositions.


Actually, I was simply checking whether $F_{1}^+ \ U\  F_{2}^+ = F^{+}\ or\ not.$

But the correct approach is $(F_{1}^+ \ U\  F_{2}^+) ^{+}= F^{+}$

i.e. We take the union of F1 and F2  and then keen closure.


Thankyou @joshi_nitish, @Hemant, @Mk.

2
2

1 Answer

0 votes
0 votes
Answer must be 'A'.... As in option B dependency is preserved....

2 Comments

How is dependency preserved in second option can you please explain as  from ADC decomposition AB -) C can't be derived
0
0
In this we have to check whether the dependency is preserved or not for decomposition ADC..... So take the dependency AB - >C and check using polynomial time algorithm ( it is an algo used to find out whether dependency is preserved or not...)..... Then u will get your answer
0
0