CS FundamentalsHardProduct company interview · GATE level

R(A, B, C, D) is in 1NF with functional dependencies AB → C, C → D (candidate key(s): AB). What is the highest normal form R satisfies?

  1. A. 1NF
  2. B. 3NF
  3. C. BCNF
  4. D. 2NF

Correct answer: D. 2NF

The candidate key(s) are AB. No non-prime attribute depends on a proper subset of any candidate key (no partial dependency), but a transitive dependency of a non-prime attribute through another non-prime attribute breaks 3NF.

More DBMS and SQL questions

Exams that ask this topic