-1

I have the following:

R = (A,B,C,D,E,F,G) FD = (A->B, C->D, E->F, ACE->G)

I'm struggling with the decomposition into 3NF. I've read through several of the other posts and managed to confuse myself. Any assistance is greatly appreciated.

sarwar026
  • 3,821
  • 3
  • 26
  • 37

1 Answers1

0

The only key is ACE.

  • R = (ACE BDFG)

A->B is a partial key dependency. R is not in 2NF.

  • R1 = (ACE DFG)
  • R2 = (A B)

R2 is in 5NF. R1 still has a partial key dependency: C->D.

  • R3 = (ACE FG)
  • R2 = (A B)
  • R4 = (C D)

R2 didn't change; it's still in 5NF. R4 is in 5NF. R3 still has a partial key dependency: E->F.

  • R5 = (ACE G)
  • R2 = (A B)
  • R4 = (C D)
  • R6 = (E F)

All four of those are now in 5NF. (So they're also in 3NF.)

Mike Sherrill 'Cat Recall'
  • 91,602
  • 17
  • 122
  • 185