DSA Factory
Free Keys, ER and normalization lessonsKeys, ER and normalization · Stage 3 · Normal forms · Step 2

BCNF and good decompositions

The strictest everyday normal form, the case where 3NF and BCNF differ, and how to decompose without losing dependencies. About 14 minutes.

Quick check

In R(A, B, C) with FDs AB → C and C → B, why is the relation in 3NF but not in BCNF?

  1. AC → B has a non-key left side, but B is prime (it's in the key AB)
  2. BThere's a transitive dependency through a non-prime attribute
  3. CA non-prime attribute depends on part of the key
Show the answer

C → B has a non-key left side, but B is prime (it's in the key AB). 3NF allows that; BCNF doesn't.

Lock it in

4 questions on this idea

Short questions that apply the idea to new cases: trace it, work out a number, put steps in order. A wrong answer explains itself.

Answer them in your browserFree account, no card. Your progress is saved, and the idea comes back in a quick review later.
Sign up free to solve