UGC NET CS 2023Database Management Systems › Normalization for Relational DatabasesVerified
UGC NET CS 2023 PYQ: Let $\text{R (A,B,C,D,E,F)}$ be a relational schema with following functional dependencies: $\mathrm{C}…
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}$ ?
- A$\text{CD}$
- B$\text{EC}$Correct answer
- C$\mathrm{AE}$
- D$\mathrm{AC}$
Answer
(B) $\text{EC}$
Approach
Compute attribute closures of the candidate sets and test which gives all attributes.
Reviewed by UGC IQ Editorial Team.