DDM Q.63

0. Let R is a relation schema, R(A, B, C, D) and F = {A —> B, B --> C, C —> A) is the set of functional dependency. Determine the key of relation ?

  • Option : D
  • Explanation : Rule to find out the key in relation :- Key ---> Rest of Attributes As Key determies rest of the attributes Key must include all attributes but can not be on RHS of any functional dependency i.e Only fields on RHS are determined. An undetermined field must be in the key. REST must include all attributes but NOT on LHS They don't determine anything so they can not be part of key. If field is not in ANY FD, it must be part of the key Now considering these 5 points we get D as Key.
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *