CS FundamentalsVery hardGATE CS · Product placement

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

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

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

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