in Databases edited by
386 views
0 votes
0 votes

Let $\text{R (A,B,C,D,E,F)}$ be a relational schema with following functional dependencies:
$\mathrm{C} \rightarrow \mathrm{F}, \mathrm{E} \rightarrow \mathrm{A}, \mathrm{EC} \rightarrow \mathrm{D}, \mathrm{A} \rightarrow \mathrm{B}$. Which of the following is a key for $\mathrm{R}$ ?

  1. $\text{CD}$
  2. $\text{EC}$
  3. $\mathrm{AE}$
  4. $\mathrm{AC}$
in Databases edited by
by
386 views

1 Answer

2 votes
2 votes
Will use closure property to check all the options :

CD+ = {C,D,F}

EC+ = {E,C,F,A,D,B}

AE+ = {A,E,B}

AC+ = {A,C,F,B}

Ans : Option B – EC.

Related questions