Which of the following statements about a relation in first normal form is/are TRUE?
GATE CSE 2024Databases › Normalization & Functional DependenciesVerified
GATE CSE 2024 PYQ: Which of the following statements about a relation R \mathbf{R} R in first normal form (1NF) \text{(1NF)}…
- Acan have a multi-attribute keyCorrect answer
- Bcannot have a foreign key
- Ccannot have a composite attributeCorrect answer
- Dcannot have more than one candidate key
Answer
(A, C) R \mathbf{R} R can have a multi-attribute key; R \mathbf{R} R cannot have a composite attribute
Approach
1NF only requires that all attribute values in a relation be atomic. It does not restrict the number of attributes in a key, the presence of foreign keys, or the number of candidate keys. Composite attributes, however, are not allowed because they are not atomic.
The true statements are A and C: a 1NF relation can have a multi-attribute key, and it cannot have a composite attribute. B and D are false because 1NF allows foreign keys and multiple candidate keys.
Reviewed by GateIQ Editorial Team: IIT & IISc Alumni.