Consider the relation T1(A,B,C,D,E) with the dependencies {EB ->C,D ->E, EA ->B} and T2(A,B,C,D) with the dependencies {C->A,A->B, A->D}. Which of the following is TRUE?
A relation is in 3rd Normal Form (3NF) if, for every non-trivial functional dependency (FD) of the form X → Y, one of the following is true:
If an FD exists in a relation where neither of these conditions holds, the relation is not in 3NF.
We are given relation T1(A,B,C,D,E) with the following functional dependencies (FDs):
Step 1: Determine Candidate Keys and Prime Attributes for T1
First, let's find the attributes that are not on the right-hand side of any FD: A, B, D, E. These are potential parts of candidate keys.
We calculate the closure of attribute sets:
Checking for minimality, we find that both {A, D, E} and {A, B, D} are candidate keys for T1.
Prime attributes are those part of any candidate key: {A, B, D, E}. The only non-prime attribute is {C}.
Step 2: Check Functional Dependencies against 3NF Rules for T1
Let's examine each FD:
Conclusion for T1: Because the FD EB → C violates the 3NF conditions, relation T1 is not in 3NF.
We are given relation T2(A,B,C,D) with the following functional dependencies (FDs):
Step 1: Determine Candidate Keys and Prime Attributes for T2
Attributes not on the right-hand side are B, C, D.
Calculating the closure:
Checking for minimality, {C, D} is the sole candidate key for T2.
Prime attributes: {C, D}. Non-Prime attributes: {A, B}.
Step 2: Check Functional Dependencies against 3NF Rules for T2
Let's examine each FD:
Conclusion for T2: Because the FDs C → A and A → B violate the 3NF conditions, relation T2 is also not in 3NF.
Our analysis shows that T1 is not in 3NF due to the FD EB → C. T2 is also not in 3NF due to FDs C → A and A → B.
Therefore, the statement "T1 is not in 3NF" is TRUE.
Given the relational schema $R = (U,V,W, X, Y, Z)$ and the set of functional dependencies: $$\{U \rightarrow V, U \rightarrow W, WX \rightarrow Y, WX \rightarrow Z, V \rightarrow X\}$$ Which of the following functional dependencies can be derived from the above set?
Consider R (A,B,C,D,E) be relation with following dependencies:
C- >F, E- > A, EC- >D, A- >B. Which of the following is a key for R?