9618/13 May/June 2022 · Question 6(c) · 3 marks
The database is in Third Normal Form (3NF). Complete the table by describing the three normal forms (1NF, 2NF, 3NF).
Points that gain marks
- 1NF: no repeating groups or repeating attributes.
- 2NF: every attribute is fully dependent on the (composite) primary key: no partial dependencies.
- 3NF: every attribute depends on the primary key and on no other attribute: no non-key (transitive) dependencies.
In this lab: Levels 3 and 4 move a transitive and a partial dependency; level 5 takes one table all the way to 3NF.
9618/12 October/November 2022 · Question 5(a) · 3 marks
A relational database GARDEN has the tables OWNER(OwnerID, FirstName, TelephoneNo, TreeID, TreePosition) and TREE(TreeID, ScientificName, MaxHeight, FastGrowing). The database is not in 3NF. Explain how it can be normalised to 3NF.
Points that gain marks
- Remove the many-to-many relationship between Owner and Tree.
- Take TreeID and TreePosition out of the OWNER table.
- Create a linking table between OWNER and TREE that contains OwnerID, TreeID and TreePosition.
- Its primary key is the composite key OwnerID and TreeID.
In this lab: Level 6 builds a 3-table design with a linking table like this one.