Question 16 MCQ · 4.0 marks
Published solution
Let us analyze the `players(Name, Team, Coach, Runs)` table:
**1. Identify the Dependencies in `players`:**
Looking at the 4 rows for `Sharma`:
- `Team` uniquely determines `Coach` (`CSK -> Steven`, `MI -> Mahela`).
- `Sharma` plays for two teams (`CSK`, `MI`) and has scored two distinct run values (`99`, `50`) in every combination (`(CSK, 99)`, `(MI, 50)`, `(MI, 99)`, `(CSK, 50)`).
- Thus, for a given `Name`, `Runs` is independent of `(Team, Coach)`. That is, the multivalued dependency \( \text{Name} \twoheadrightarrow \text{Runs} \) and \( \text{Name} \twoheadrightarrow \{\text{Team}, \text{Coach}\} \) holds!
**2. Decomposing into 4NF:**
- Since `Name` is not a superkey of `players`, the non-trivial MVD \( \text{Name} \twoheadrightarrow \text{Runs} \) violates **Fourth Normal Form (4NF)**.
- Decomposing on \( \text{Name} \twoheadrightarrow \text{Runs} \) splits `players` into:
- **Table 2: `players1(Name, Runs)`** containing `(Sharma, 99)` and `(Sharma, 50)`.
- **Table 3: `players2(Name, Team, Coach)`** containing `(Sharma, CSK, Steven)` and `(Sharma, MI, Mahela)`.
**Answer: Option B (Table 2: players1(Name, Runs) and Table 3: players2(Name, Team, Coach)).**
A: **Incorrect:** The original table violates 4NF because of the non-trivial multivalued dependency `Name ->> Runs`.
B: **Correct:** Decomposes the independent multivalued attributes into `players1(Name, Runs)` and `players2(Name, Team, Coach)`, eliminating the MVD redundancy.
C: **Incorrect:** `Table 4: players1(Name, Team, Runs)` omits the `(MI, 99)` and `(CSK, 50)` combinations, making the decomposition lossy.
D: **Incorrect:** Loses the `(MI, 99)` and `(CSK, 50)` tuples upon natural join.