CS FundamentalsVery hardGATE CS · DBMS
R(A, B, C, D, E) with functional dependencies E → BC, D → B is decomposed into R1(A, B, D), R2(C, D), R3(B, C, 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
- A B+ tree index uses 1024-byte blocks, 12-byte search keys, 10-byte block pointers and 6-byte record (data) pointers. Each leaf also keeps…
- Which statement about a UNIQUE constraint versus a PRIMARY KEY in standard SQL is correct?
- Consider the schedule R1(B), W3(B), W3(A), R2(B), W2(A), R1(A), W1(A). Which statement is correct?
- Extendible hashing uses the LOWEST-order bits of a key's binary value, bucket capacity 2, and starts with global depth 0 and one empty…
- Table Takes(sid, cid, marks) rows: (1, 'C1', 80), (1, 'C2', NULL), (2, 'C1', 65), (3, 'C2', 90), (3, 'C3', 75), (5, 'C1', 50). What does…
- R(A, B, C, D, E, F) has functional dependencies BD → E, D → AF, E → AB, BC → D. Which of the following is the complete set of candidate…