CS FundamentalsVery hardGATE CS · DBMS

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

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

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

Run the chase (or, for two parts, check whether the common attributes determine one whole part). Only (A, C), (A, D, E), (B, 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