ago
25 views
0 0 votes

Consider $R(A,B,C,D,E,F)$ with $F=\{A\to B,\ A\to C,\ BC\to E,\ BC\to D,\ E\to F,\ BC\to F\}$.

Suppose the following BCNF decomposition is used:

$R_1(B,C,E)$

$R_2(B,C,F)$

$R_3(B,C,D)$

$R_4(A,B,C)$

Which original functional dependency is not dependency preserved?

  1. $A\to B$
     
  2. $BC\to D$
     
  3. $BC\to E$
     
  4. $E\to F$

1 Answer

0 0 votes

Check the dependencies one by one.

$A\to B$ can be enforced inside $R_4(A,B,C)$.

$BC\to D$ can be enforced inside $R_3(B,C,D)$.

$BC\to E$ can be enforced inside $R_1(B,C,E)$.

Also, $BC\to F$ can be enforced inside $R_2(B,C,F)$.

Now consider $E\to F$.

$E$ appears in $R_1$.

$F$ appears in $R_2$.

No single component contains both $E$ and $F$.

More importantly, starting from $E$ using the union of the projected FDs does not allow us to derive $F$.

$\therefore E\to F$ is not dependency preserved.
 

Answer : D

ago
Answer:
Position:
Show:

Related questions

0 0 votes
1 1 answer
27
27 views
GO Classes asked 1 day ago
27 views
Which statement correctly describes the guarantee of the standard BCNF decomposition procedure?Every relation has a decomposition that is simultaneously BCNF, lossless an...
0 0 votes
1 1 answer
69
69 views
GO Classes asked 1 day ago
69 views
Consider $R(A,B,C,D,E)$ with $\Sigma=\{A\to B,\ AE\to D,\ B\to E,\ AD\to E,\ CD\to A,\ AB\to D,\ E\to B\}$.Which of the following correctly gives a lossless, dependency-p...
0 0 votes
1 1 answer
31
31 views
GO Classes asked 1 day ago
31 views
Consider $R(A,B,C,D,E,F,G)$ with $F=\{AB\to CF,\ CD\to EA,\ E\to ABC,\ B\to F,\ C\to D\}$.Suppose $R$ is decomposed into $R_1(A,B,C,D,E,G)$ and $R_2(B,F)$.Which statement...
0 0 votes
1 1 answer
33
33 views
GO Classes asked 1 day ago
33 views
Consider $R(A,B,C,D,E,F,G)$ with $F=\{BCD\to A,\ BC\to E,\ A\to F,\ F\to G,\ C\to D,\ A\to G\}$.Which of the following statements are correct after applying the $\text{3N...