Which of the following is NOT a superkey in a relational schema with attributes and primary key ?
View worked solution
Answer: B
A superkey is a set of attributes that contains a candidate key (or primary key) as a subset. For any set of attributes to be a superkey in this schema, it must contain the primary key .
Let's analyze the given options:
- Option A (): Contains both and . Hence, it is a superkey.
- Option B (): Does not contain . Hence, it cannot be a superkey.
- Option C (): Contains both and . Hence, it is a superkey.
- Option D (): Contains both and . Hence, it is a superkey.
Therefore, is not a superkey.
Free practice · Your answers on this page are not saved.
