GATE 2022 CS – Question 14
In a relational data model, which one of the following statements is TRUE?
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (A) A relation with only two attributes is always in BCNF.
Explanation
With two attributes, every nontrivial FD has a superkey as its determinant, so the relation is in BCNF. All-prime attributes only guarantee 3NF. A relation can have no non-prime attribute, and BCNF decomposition may lose FDs.