Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

2. Consider the followingrelation E(C, S, T, R, G) with the followingconditions:

ID: 3610723 • Letter: 2

Question

2.        Consider the followingrelation E(C, S, T, R, G) with the followingconditions: CàT, STàR, TRàC,SCàG

a)       Is the decompositiondependency preserving? Justify your answer.

Explanation / Answer

suppose R is decomposed into X, Y, Z...with functional dependenciesf1, f2,f3... now The decomposition is said to be dependency preserving if allthe functional dependencies of R can be derived from F1, F2,F3; Here the relation is E(C,S,T,R,G) and its functional dependencies are F= { C->T, ST ->R ,TR->C,SC->G} now decompose E to X(C,T) and F1= {C->T}                                 Y(S, C, R, G) AND F2={SC->G, SC->R}                                 Z(T, R, C) and F3={TR -> C} now from F1, F2, F3 we can derive {C->T, SC->G,TR->C} very easily. for the fourth dependency....SC->R and C->T soST->R..since T is functionally depends on C...so C can derivet Therefore ST->R Therefore all the functional dependencies of E can be derived fromthe above decomposition.. so decomposition of E into X, Y, Z is a dependency preservingdecomposition

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at drjack9650@gmail.com
Chat Now And Get Quote