Machine-translated by Google. Questions are authored in English.
Top

Discussion

Which of the following is NOT a superkey in a relational schema with attributes \(V, W, X, Y, Z\) and primary key \(VY\)?

  • A.\(VXYZ\)
  • B.\(VWXZ\)
  • C.\(VWXY\)
  • D.\(VWXYZ\)

Answer: B

The attribute set that is NOT a superkey is \(VWXZ\).

A superkey is any attribute set that contains a candidate key. The primary key is \(VY\), so any set containing both \(V\) and \(Y\) is a superkey.

\(VXYZ\), \(VWXY\) and \(VWXYZ\) all contain \(V\) and \(Y\). \(VWXZ\) is missing \(Y\); with no other candidate key given, it cannot be assumed to identify tuples uniquely, so it is not a superkey.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.