CS FundamentalsVery hardGATE CS · DBMS

R(A, B, C, D, E) has functional dependencies E → B, B → A, D → B, A → D. Which decomposition of R is lossless-join?

  1. A. (A, B, D), (A, C, E)
  2. B. (A, D), (B, C, D), (D, E)
  3. C. (A, C), (B, D, E)
  4. D. (A, C, D), (B, D, E)

Correct answer: A. (A, B, D), (A, C, E)

Run the chase (or, for two parts, check whether the common attributes determine one whole part). Only (A, B, D), (A, C, E) produces an all-distinguished row; in each other option some join step has common attributes that are not a key of either side.

More DBMS and SQL questions

Exams that ask this topic