UGC-NET Jan 2017 · Normal Forms (1NF, 2NF, 3NF, BCNF)

MCQ · 2 marks · Problem DBMS-NORM-0004

Which one is correct w.r.t. RDBMS?
  1. A
    primary key $\subseteq$ super key $\subseteq$ candidate key
  2. B
    primary key $\subseteq$ candidate key $\subseteq$ super key
  3. C
    super key $\subseteq$ candidate key $\subseteq$ primary key
  4. D
    super key $\subseteq$ primary key $\subseteq$ candidate key

Solve it on GATE DA practice →More Relational Model & SQL problems

Show the worked solutionA super key is any attribute set that uniquely identifies tuples. A candidate key is a minimal super key, and the primary key is the one candidate key chosen. So, as sets of keys,\[\{\text{primary key}\}\subseteq\{\text{candidate keys}\}\subseteq\{\text{super keys}\}.\]Every other ordering puts a larger class inside a smaller one.Answer: B

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com