Saltar al contenido

Labs · 9618 AS 8.1

Normal Forms

Split one big table into good tables. Choose each primary key, and watch the repeated facts in the data disappear, step by step to 3NF.

6 levelsFree bench

In the exam

Exam questions on what this lab teaches, with the points that gain marks.

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

  1. 1NF: no repeating groups or repeating attributes.
  2. 2NF: every attribute is fully dependent on the (composite) primary key: no partial dependencies.
  3. 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

  1. Remove the many-to-many relationship between Owner and Tree.
  2. Take TreeID and TreePosition out of the OWNER table.
  3. Create a linking table between OWNER and TREE that contains OwnerID, TreeID and TreePosition.
  4. 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.

The question as printed in the exam paper

More real experiments

All labs →

Iniciar sesión o crear cuenta

IGCSE, A-Level & AP