CS FundamentalsVery hardGATE CS · DBMS
R(A, B, C, D, E) with functional dependencies B → A, E → D, D → C is decomposed into R1(A, B), R2(A, C), R3(C, D, E). Which statement is correct?
- A. Neither lossless join nor dependency preserving
- B. Lossless join and dependency preserving
- C. Dependency preserving but not lossless join
- D. Lossless join but not dependency preserving
Correct answer: C. Dependency preserving but not lossless join
The chase (tableau) test never produces an all-distinguished row, so the join is lossy. Every FD of F follows from the FDs projected onto the parts, so dependencies are preserved.
More DBMS and SQL questions
- Classify the schedule R3(A), W1(B), R1(A), R3(B), W2(B), R2(A), R2(B), W3(B).
- R(A, B, C, D, E, F) has functional dependencies F → AB, D → C, C → F, CE → D. How many superkeys does R have?
- R(A, B, C, D, E) has the set of functional dependencies Σ = {E → AC, C → B, AE → B, A → D}. Which of the following FDs is NOT in Σ⁺ (not…
- 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'…
- Keys 47, 46, 27, 42, 22, 7, 58, 45, 48, 51 are inserted in this order into an empty B+ tree where a node holds at most 3 keys; an…
- 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'…