edited by
341 views
1 votes
1 votes

An organization needs to maintain database having five attributes $\textbf{A, B, C, D, E}$. These attributes are functionally dependent on each other for which functionality dependency set $F$ is given as: $\textbf{F}: \{ \textbf{A} \rightarrow \textbf{BC}, \textbf{D} \rightarrow \textbf{E}, \textbf{BC} \rightarrow \textbf{D}, \textbf{A} \rightarrow \textbf{D} \}$. Consider a universal relation $\textbf{R(A, B, C, D, E)}$ with functional dependency set $\textbf{F}$. Also all attributes are simple and take atomic values only.

Identify primary key of table $R$ with functional dependency set $F$

  1. $\textbf{BC}$
  2. $\textbf{AD}$
  3. $\textbf{A}$
  4. $\textbf{AB}$
edited by

1 Answer

1 votes
1 votes
closure of A={A,B,C,D,E}

Hence A is the primary key of table R.

closure of BC={B,C,D,E}

closure of AD={A,B,C,D,E}

closure of AB={A,B,C,D,E}

primary key is minimal superkey so,A is the primary key

Related questions

1 votes
1 votes
2 answers
1
4 votes
4 votes
6 answers
3
soujanyareddy13 asked May 12, 2021
1,919 views
The Boolean expression $AB+A \overline{B}+\overline{A}C+AC$ is unaffected by the value of the Boolean variable _________.$A$$B$$C$$A, B$ and $C$