Computer Sciences > Gate 2016 Set-1 > Superkeys
Which of the following is NOT a superkey in a relational schema with attributes V, W, X, Y, Z and primary key V Y ?
A
V X Y Z
B
V W X Z
C
V W X Y
D
V W X Y Z

Correct : S

Given:
Relation schema attributes = {V, W, X, Y, Z}
Primary key = V Y
To find:
Which of the given options is NOT a superkey.
Solution:
Okay, let's recall the basic definition of a superkey.
A superkey is simply any set of attributes that contains a candidate key (or primary key) as a subset.
Here, the primary key is given as {V, Y}.
So, any attribute set that contains both V and Y will act as a superkey.
Now let me check each option one by one.
Checking option A: {V, X, Y, Z}.
It contains both V and Y, so this is a superkey.
Checking option B: {V, W, X, Z}.
Wait, Y is missing here! It only has V, not Y.
Since it does not contain the primary key {V, Y}, it cannot be a superkey.
Let me just quickly check the remaining options to be sure.
Checking option C: {V, W, X, Y}.
Contains both V and Y, so it is a superkey.
Checking option D: {V, W, X, Y, Z}.
Contains both V and Y, so it is also a superkey.
Therefore, option B is definitely not a superkey.
Answer: (B)

Similar Questions

A palindrome is a word that reads the same forwards and backwards. In a game of words, a player has the following two plates painted with letters. From...
#1 MCQ
Which number does not belong in the series below? 2, 5, 10, 17, 26, 37, 50, 64
#4 MCQ
Choose the word that is opposite in meaning to the word “coherent”.
#5 MCQ

Related Topics

superkey primary key relational schema database keys GATE Computer Sciences 2016 GATE CS 2016 Set-1 Q19 DBMS identify superkey

Unique Visitor Count

Total Unique Visitors

Loading......