2,944 views
2 votes
2 votes
The number of partial dependencies in a relation R{X,Y,V,U,Z} with FD set F={X->YZ, Z->V, V->XY} is ____

7 Answers

Best answer
3 votes
3 votes

Candidate keys are XU,VU,ZU. So prime attributes= X,U,Z,V and non prime attributes= Y.

Partial dependency means that a non prime attribute is functionally dependent on part of a candidate key. (A non prime attribute is an attribute that's not part of any candidate key.)

In the dependencies non prime attribute Y is dependent on X which is part of candidate key XU.  So X->YZ is a partial dependency.

Similarly Y is dependent on V which is part of candidate key VU.

So,there exists 2 partial dependencies which are X->YZ and V->XY.

selected by
1 votes
1 votes
In the above question there are 2 partial dependencies X->YZ and V->XY because Y is a non prime attribute which is depending on a part of candidate keys( UX,UV,UZ )
edited by
0 votes
0 votes
Candidate keys are:

XU,ZU,VU

Prime attributes={X,U,Z,V}

So,partial dependency is in:X->YZ,V->XY

and there exists no dependency in Z->V because they both are prime attributes.
0 votes
0 votes
Candidate Keys: UX , UV and UZ

Prime Attributes: { U, V, X, Z}

All the three FD are partial dependencies. (directly or indirectly after RHS split)

As a proper subset of Candidate keys gives non-prime attributes.

Related questions

6 votes
6 votes
5 answers
3