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?
- A. (A, B, E), (C, D, E)
- B. (A, C, D), (B, C, E)
- C. (A, B, C), (B, D, E)
- 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
- TS(T1) = 30, TS(T2) = 20, TS(T3) = 10; all read/write timestamps start at 0. Under basic timestamp ordering (no Thomas write rule), which…
- Table Sale(id, rep, region, amt) rows: (1, 'Ira', 'N', 100), (2, 'Jai', 'S', 250), (3, 'Ira', 'S', NULL), (4, 'Kim', 'N', 300), (5, 'Jai'…
- R(A, B) = {(a1, b2), (a1, b3), (a2, b2), (a2, b3), (a3, b1), (a3, b3), (a4, b1), (a4, b2), (a4, b3)} and S(B) = {b1, b2}. What is R ÷ S?
- Classify the schedule R3(A), R3(B), W1(A), R1(A), C3, R2(A), C1, W2(B), W2(A), C2 (Ci = commit of Ti) by the strongest property it…
- Consider the schedule W1(A), R1(B), W2(A), R1(A), R3(B), W3(A), R2(A). Which statement is correct?
- In multiple-granularity locking, transaction T1 holds an SIX lock on a table. Which lock request by another transaction on the same table…