292 views
0 votes
0 votes
Consider a relation R with five attributes V,W,X,Y and Z. The following functional dependencies hold : $VY \rightarrow W, WX \rightarrow Z$ and $VY \rightarrow W, WX \rightarrow Z$ and  ZY \rightarrow V$. Which of the following is a candidate key for R

A) VXZ

B) VXY

C) VWXY

D) VWXYZ

1 Answer

Best answer
2 votes
2 votes
Candidate key will be B.VXY

Since X is not identified by other attributes so it definitely would be included in candidate key.. and VY uniquely identifies W.. and further WX would uniquely identify Z.. since Candidate key is minimal set which identify each attribute uniquely.. So VXY would be candidate key.
selected by

Related questions

2 votes
2 votes
1 answer
2
Sankaranarayanan P.N asked Oct 27, 2016
709 views
A B-tree used as an index for a large database table has four levels including root node. If a new key is inserted in this index, then the maximum number of nodes that co...
1 votes
1 votes
2 answers
3
Sankaranarayanan P.N asked Oct 27, 2016
1,256 views
A table has fields F1, F2, F3, F4, F5 with the following functional dependencies $F1 \rightarrow $F1 \rightarrow F3, F2 \rightarrow F4, (F1,F2) \rightarrow F5$F3$ in ter...