For a database relation , where the domains include only atomic values, only the following functional dependencies and those that can be inferred from them hold
This relation is
View worked solution
Answer: A
To determine the normal form of the relation , let us analyze the given conditions step-by-step:
-
First Normal Form (1NF):
A relation is in 1NF if the domain of each attribute contains only atomic (indivisible) values. Since the problem explicitly states that the domains of include only atomic values, the relation is in 1NF.
-
Candidate Key:
Let us find the attribute closure to determine the candidate key(s):
- (using and )
Since no proper subset of can derive all attributes, the only candidate key for is .
This gives us:
- Prime attributes: (attributes that are part of a candidate key)
- Non-prime attributes: (attributes that are not part of any candidate key)
-
Second Normal Form (2NF):
A relation is in 2NF if it is in 1NF and no non-prime attribute is partially dependent on any candidate key. In other words, a functional dependency violates 2NF if is a proper subset of a candidate key and is a non-prime attribute.
Let us check the given functional dependencies:
- : Here, is a proper subset of the candidate key , and is a non-prime attribute. This is a partial dependency.
- : Similarly, is a proper subset of the candidate key , and is a non-prime attribute. This is also a partial dependency.
Since partial dependencies exist, the relation is not in 2NF.
Thus, the relation is in first normal form but not in second normal form.
Free practice · Your answers on this page are not saved.
