UGC-NET Dec 2015 · Normal Forms (1NF, 2NF, 3NF, BCNF)
MCQ · 2 marks · Problem DBMS-NORM-0017
A relation R={A,B,C,D,E,F,G} is given with following set of functional dependencies: F={AD→E, BE→F, B→C, AF→G}. Which of the following is a candidate key?
Show the worked solution\(A\), \(B\) and \(D\) never appear on the right side of any FD, so every key must contain \(ABD\).\[(ABD)^+:\ B\to C,\ AD\to E,\ BE\to F,\ AF\to G\ \Rightarrow\ ABCDEFG.\]So \(ABD\) is a key, and it is minimal because none of \(A,B,D\) can be dropped.(A), (B), (C) do not contain \(D\), so their closures miss \(D\) — not keys.Answer: D
GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com