01Home 02Work With Me 03Speaking 04Research 05Teaching 06Students 07Products 08News 09Writing 10About 11Platform New 12Contact 13Curriculum Vitae
MBI802Practice

Normalisation activities

Seven short tables to practise on, mixed up and with no hints. Work out what normal form each is in and normalise it. The answers sit behind a password so you try it first.

Database Management Systems3 min readFree, no login
MBI802 · Normalisation activities The first screen of Normalisation activities

This is the written version of Normalisation activities, taken from the lesson itself. The simulations, drag-and-drop activities and quizzes only work in the interactive lesson.

Blended Teaching Content by Yasas Sri Wickramasinghe

Practice activities · Dr. Yasas Sri Wickramasinghe

Normalise it yourself. 1NF · 2NF · 3NF

Seven short tables, mixed up — they are not in order, and we don’t tell you which form each one is in. For each table, work out the highest normal form it is in, then normalise it. Try it yourself first. Each answer has its own password, which your lecturer will share.

Need a refresher? ›

How to use this

Read, decide, normalise, check

Each activity works the same way. Do your own answer first, then unlock the one here to check it.

Find the problem

Read the table. Where is the same value repeated, or where is a cell holding a list?

Name the form

Decide the highest normal form it is in now — 1NF, 2NF or 3NF. Some are already fine.

Split and check

Break it into clean tables, then unlock the answer to check your work.

Activity 1 · Online shop

The order lines table

An online shop keeps its order lines in one table. The key is made of two columns, {OrderID, ProductID}. Look at what each column depends on.

Order_Items PK: {OrderID, ProductID}

OrderIDProductIDProductNameQuantity
O1P1Keyboard2
O1P2Mouse1
O2P1Keyboard3

Your task

Work out the highest normal form this table is in right now — then normalise it.

The answer is locked

Try the table on your own first. Each activity has its own password — your lecturer will give you the one for this table to see the full answer.

Activity 2 · Streaming service

The movies table

A streaming app stores each movie with its cast in one column, separated by commas. Look at the table and decide what to do.

MovieIDTitleActors
M1InceptionDiCaprio, Hardy
M2TitanicDiCaprio, Winslet
M3JokerPhoenix

Activity 3 · Library

The books table

A library lists its books in one table. The key is a single column, BookID. Look at how the city is linked to the book.

BookIDTitlePublisherIDPublisherCity
B1SQL BasicsPUB1London
B2Data 101PUB1London
B3Web DevPUB2Paris

Activity 4 · Customer records

The customers table

A shop keeps its customers in this table. The key is a single column, CustomerID. Read it carefully — not every table needs changing.

CustomerIDCustomerNameEmail
C1Raviravi@mail.com
C2Marymary@mail.com
C3Sarasara@mail.com

Activity 5 · Student clubs

The student clubs table

A coordinator keeps each student’s clubs in one column, separated by commas. Look at the table and decide what to do.

Student_Clubs PK: StudentID

StudentIDStudentNameClubs
S1AmalChess, Drama
S2NimalCricket
S3KamalaArt, Music, Dance

Activity 6 · Health clinic

The appointments table

A small clinic books appointments in one table. The key is the pair {PatientID, DoctorID}. This one has two repeated facts — find them both.

Appointments PK: {PatientID, DoctorID}

PatientIDPatientNameDoctorIDDoctorNameFee
PT1RaviDR1Dr. Perera$40
PT1RaviDR2Dr. Silva$55
PT2MaryDR1Dr. Perera$40

Activity 7 · HR system

The employees table

This HR table lists employees and the department each one works in. The key is a single column, EmpID. Look at how DeptName is linked to the key.

EmpIDEmpNameDeptIDDeptName
E1SaraD1Sales
E2JohnD1Sales
E3LisaD2IT

Now try the real thing.

Everything above is on one page so you can read it anywhere. The lesson itself runs in your browser: no login, no install.