CS FundamentalsVery hardGATE CS · DBMS
R(A, B, C, D, E) has functional dependencies E → B, B → A, D → B, A → D. Which decomposition of R is lossless-join?
- A. (A, B, D), (A, C, E)
- B. (A, D), (B, C, D), (D, E)
- C. (A, C), (B, D, E)
- D. (A, C, D), (B, D, E)
Correct answer: A. (A, B, D), (A, C, E)
Run the chase (or, for two parts, check whether the common attributes determine one whole part). Only (A, B, D), (A, C, 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
- R(A, B, C, D, E) with functional dependencies B → C, D → CE, A → B, CE → A is decomposed into R1(A, B), R2(A, C, E), R3(C, D, E). Which…
- Which inference rule is NOT sound for functional dependencies?
- Table Staff(id, name, dept, pay, boss) rows: (1, 'Anu', 'Ops', 40, NULL), (2, 'Bala', 'Ops', 55, 1), (3, 'Chitra', 'Tech', 70, 1), (4…
- Consider the schedule W1(B), W2(A), R2(A), W1(A), R3(A), W3(B). Which statement is correct?
- Classify the schedule W2(A), W1(B), W1(A), R1(B), C1, W2(B), R2(B), C2 (Ci = commit of Ti) by the strongest property it satisfies.
- A query runs WHERE a = 7 AND b > 100 ORDER BY b. Which single B+ tree index serves it best?