CS FundamentalsHardGATE CS · Product placement
Which statement about the multivalued dependency X ↠ Y on R is correct?
- A. It is trivial if Y ⊆ X or X ∪ Y = R
- B. It is trivial only if Y ⊆ X
- C. Every MVD X ↠ Y implies the FD X → Y
- D. X ↠ Y holds only if X ↠ R − X − Y fails
Correct answer: A. It is trivial if Y ⊆ X or X ∪ Y = R
An MVD is trivial when Y ⊆ X or X ∪ Y covers all attributes. FDs imply MVDs (X → Y gives X ↠ Y), not the other way round, and by complementation X ↠ Y always brings X ↠ R − X − Y with it.
More DBMS and SQL questions
- R(A, B, C, D, E) has the set of functional dependencies Σ = {AD → BE, D → AE, CE → D, A → B}. Which of the following FDs is NOT in Σ⁺ (not…
- A file of 2400 blocks is sorted by external merge sort with M = 6 buffer blocks (sorted runs of M blocks are created in pass 0, then (M −…
- R(A1, A2, …, A8) has the FDs A1 → A2, A2 → A3, …, A7 → A8 and A8 → A1. How many candidate keys does R have, and what is its highest normal…
- Assertion (A): Every relation schema with exactly two attributes is in BCNF. Reason (R): For R(X, Y), any non-trivial FD has a single…
- R(A, B, C, D, E) has functional dependencies CE → BD, DE → A, BD → E. Which of the following is the complete set of candidate keys of R?
- Table Node(id, parent) rows: (1, NULL), (2, 1), (3, 1), (4, 2), (5, 2), (6, 4), (7, 3). What does this query return? sql WITH RECURSIVE…