CS FundamentalsEasyGATE CS (PYQ pattern)

R(A, B, C, D, E, F) has FDs A → B, B → C, C → A, AD → E, E → F. How many candidate keys does R have?

  1. A. 1
  2. B. 2
  3. C. 3
  4. D. 4

Correct answer: C. 3

D must be in every key (nothing determines it). A, B, C are mutually equivalent, so each of AD, BD, CD works and determines E and F: the keys are ['AD', 'BD', 'CD'].

More DBMS and SQL questions

Exams that ask this topic