Lab
Normalisation lab
Type a relation and its dependencies: closures, candidate keys and the highest normal form, with the dependency that breaks the next one.
The relation
Attributes are letters; dependencies use ->
Try
Highest normal form
Candidate keys: {A, C, D}, {B, C, D}, {C, D, E}
3NF
Every non-key attribute depends only on keys, but some left side is not a key.
Prime attributes (in some candidate key): {A, B, C, D, E}. Non-prime: none.
Why it is not in BCNF: A is not a key, although it determines B.
Closures
What each set of attributes determines
| Attributes | Closure | Superkey? |
|---|---|---|
| {A} | {A, B} | No |
| {B} | {B} | No |
| {C} | {C} | No |
| {D} | {D} | No |
| {E} | {E} | No |
| {B, C} | {B, C, E} | No |
| {D, E} | {A, B, D, E} | No |
Dependencies read: A → B, BC → E, DE → A