2 2 votes Consider a relation schema $\mathrm{R}=(\mathrm{U}, \mathrm{V}, \mathrm{W}, \mathrm{X}, \mathrm{Y}, \mathrm{Z})$, on which the following functional dependencies hold:$$\{\mathrm{U} \rightarrow \mathrm{~V}, \mathrm{VW} \rightarrow \mathrm{X}, \mathrm{Y} \rightarrow \mathrm{~W} ; \mathrm{X} \rightarrow \mathrm{U}\} $$The candidate keys of $\mathrm{R}$ are:$\mathrm{UY, ~VY}$$\mathrm{UY, ~VY, ~XY}$$\mathrm{UYZ, ~VYZ, ~VWZ}$$\mathrm{UYZ, ~VYZ, ~XYZ}$ Databases ugcnetcse-aug2024 relational-algebra functional-dependency candidate-key databases + – Shubham Sharma 2 583 views answer comment Share Follow Print 0 reply Please log in or register to add a comment.
2 2 votes Ans is : D YZ attributes are not present on the RHS of any functional dependency, so YZ has to be the part of candidate keys. we can eliminate the options A and B , because no YZ are present. and Option C is eliminated because CKs, UYZ,VYZ Contains YZ attributes, but VWZ does not contains Y, so we can eliminate the VWZ and hence ans is D. Adityaraj_Dangi 1 answered Sep 23, 2025 Adityaraj_Dangi 1 comment Share Follow 0 reply Please log in or register to add a comment.
0 0 votes Just solve for closure to get your first candidate key. $$ U\cancel{V}\cancel{W}\cancel{X}YZ^* = \left \{ U, V, W, X, Y, Z \right \} $$ check if any subset of candidate key determines all the attribute: Nocheck if any candidate key attributes on RHS: YesCheck and solve again, you will get option (d) as correct answer. gbhavanag0 answered Sep 23, 2025 gbhavanag0 comment Share Follow 0 reply Please log in or register to add a comment.
0 0 votes The correct answer is D. The reason is that the attributes Y and Z do not appear on the right-hand side of any given functional dependency. Therefore, they cannot be derived from any other attributes and must be included in every candidate key.Since Y and Z can only determine themselves ( {Y, Z} → {Y, Z}), excluding them from a key would mean that not all attributes can be derived. In that case, the set would fail to qualify even as a superkey.Because a candidate key is defined as a minimal superkey, Y and Z must be part of every candidate key. None of the other given options except D include both Y and Z, so they can be eliminated. Anupam077 answered Apr 19 Anupam077 comment Share Follow 0 reply Please log in or register to add a comment.