CodeBlanks Logo Icon CodeBlanks

Summary - Normalization

Bring a denormalised table up to 3NF.

Summary - Normalization

Normalization reduces data repetition: 1NF atomic values, 2NF no partial dependency, 3NF no transitive dependency.

-- 1NF → 2NF → 3NF → BCNF

Normalize step by step.

Practice Summary - Normalization

Summary: create a cities table (split city for 3NF).

Starter code

query.sql
-- summary normalization
CREATE TABLE

Sample solution

query.sql
CREATE TABLE cities (
  id INT PRIMARY KEY,
  name VARCHAR(50)
)

Expected output

Tablo oluşturuldu

Questions and answers

Review the lesson questions together with their answers. To test yourself, solve the lesson interactively.

1 The strictest normal form?

  • 3NF
  • 1NF
  • 2NF
  • BCNF Correct answer

Explanation: BCNF is the strictest normal form.

2 Summary - Normalization: match the terms

Term Meaning
1NF atomic
2NF no partial
3NF no transitive
BCNF super strict

All lessons in Intermediate