CS FundamentalsHardGATE CS · DBMS
R(A, B, C, D, E) with functional dependencies BC → A, D → B, A → D is decomposed into R1(A, C, E), R2(A, B, D). Which statement is correct?
- A. Lossless join and dependency preserving
- B. Neither lossless join nor dependency preserving
- C. Lossless join but not dependency preserving
- D. Dependency preserving but not lossless join
Correct answer: C. Lossless join but not dependency preserving
The chase (tableau) test produces an all-distinguished row, so the join is lossless. BC → A cannot be derived from the projected FDs, so a dependency is lost.
More DBMS and SQL questions
- Relations R (400 blocks) and S (100 blocks) are joined with block nested-loop join using M = 12 buffer blocks (M − 2 for the outer…
- Table Stu(sid, sname) rows: (1, 'Om'), (2, 'Pia'), (3, 'Raj'), (4, 'Sia'). Table Takes(sid, cid, marks) rows: (1, 'C1', 80), (1, 'C2'…
- 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'…
- TS(T1) = 15, TS(T2) = 30, TS(T3) = 25; all read/write timestamps start at 0. Under basic timestamp ordering with Thomas's write rule…
- Table Att(emp, day, status) rows: ('u', 1, 'P'), ('u', 2, 'P'), ('u', 3, 'A'), ('u', 4, 'P'), ('u', 5, 'P'), ('u', 6, 'P'), ('v', 1, 'A')…
- Which of the following is NOT one of the anomalies that normalisation into BCNF is meant to remove?