edited by
1,231 views
0 votes
0 votes

Consider a relation schema $R=(A, B, C, D, E, F)$ on which the following functional dependencies hold :

  • $A \rightarrow B$
  • $B, C \rightarrow  D$
  • $E \rightarrow  C$
  • $D \rightarrow  A$

What are the candidate keys of $R$ ?

  1. $AE$ and $BE$
  2. $AE, BE$ and $DE$
  3. $AEF, BEF$ and $BCF$
  4. $AEF, BEF$ and $DEF$
edited by

1 Answer

0 votes
0 votes
$(AEF)^+=\left\{A,E,B,C,D,F \right \}$

$(BEF)^+=\left\{B,E,C,D,A,F \right \}$

$(DEF)^+=\left\{D,E,C,A,B,F\right \}$

$AEF,BEF,DEF$ are the minimal superkeys.

So, $(D)$ should be the answer

Related questions

0 votes
0 votes
1 answer
3
Arjun asked Jan 2, 2019
629 views
​​​​​​​A clustering index is defined on the fields which are of typenon-key and orderingnon-key and non-orderingkey and orderingkey and non-ordering