0% found this document useful (0 votes)
14 views15 pages

Database Normalization Rules Explained

SQL DB normalisation notes

Uploaded by

Rohit Solanki
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views15 pages

Database Normalization Rules Explained

SQL DB normalisation notes

Uploaded by

Rohit Solanki
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Normalization

1NF Rules:

1) Using row order to convey info is not permitted


Violation

Solution
2) Mixing datatypes within the same column is not permitted
Violation

3) Having a table without a primary key is not permitted

Violation

Solution
4) Repeating groups are not permitted
Violation

Solution
2NF Rules:

Violations
Solution
3NF Rules (No Transitive Dependency):

Violation
Solution
BCNF Rules (Stronger version of 3NF & overcomes a loophole in 3NF):
Soultion:
4NF Rules:

Violation
Solution
5NF

Violation
Solution

Summary

You might also like