All mock tests are FREE till 31 December — register to save your progress
Unit 4 · Database Management Systems Paper 2 CS · December 2018

Consider a relation schema R = (A, B, C, D, E, F) on which the following functional dependencies hold :

A → B B, C → D

E → C

D → A What are the candidate keys of R?

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: D. AEF, BEF and DEF

Explanation

E and F never appear on a right side, so every key contains EF; E gives C. AEF: A → B, BC → D gives all. BEF: BC → D → A. DEF: D → A → B. So AEF, BEF and DEF.

More Database Management Systems questions