CS FundamentalsHardTCS NQT · Infosys pattern

R(A, B, C, D, E) has functional dependencies A → B, C → D, BD → E. What are the candidate key(s) of R?

  1. A. ABCDE
  2. B. AB
  3. C. BCDE
  4. D. AC

Correct answer: D. AC

Computing each candidate attribute set's closure under A → B, C → D, BD → E, the minimal sets whose closure is all of {ABCDE} are: AC.

More DBMS and SQL questions

Exams that ask this topic