CS FundamentalsModerateGATE CS · Product placement

R(A, B, C, D, E) has functional dependencies A → BCE, C → AD, B → DE. What is the closure {B}⁺?

  1. A. {ABCDE}
  2. B. {ABDE}
  3. C. {BD}
  4. D. {BDE}

Correct answer: D. {BDE}

Keep applying any FD whose left side is already inside the set until nothing changes; one pass in listed order is not enough. The result is {BDE}.

More DBMS and SQL questions

Exams that ask this topic