Dba-Normal Forms
Dba-Normal Forms
N
1 , 2 , and 3
st nd rd
BY
SYEDA RABIA KAZIM
Overview
◦ Database Normalization
◦ Data Anomalies Caused by:
◦ Update, Insertion, Deletion
◦ 1st Normal Form
◦ 2nd Normal Form
◦ 3rd Normal Form
◦ Conclusion
Database Normalization
The main goal of Database Normalization is to restructure the logical
data model of a database to:
Eliminate redundancy
Organize data efficiently
Reduce the potential for data anomalies.
Data Anomalies
Data anomalies are inconsistencies in the data stored
in a database as a result of an operation such as update,
insertion, and/or deletion.
Such inconsistencies may arise when have a particular
record stored in multiple locations and not all of the
copies are updated.
We can prevent such anomalies by implementing 7
different level of normalization called Normal Forms
(NF)
Brief History/Overview
Codd defined the first three Normal Forms, which
we’ll look into, of the 7 known Normal Forms.
Using the following simple rules and guidelines, you can construct valid
statements that are both easy to read and easy to edit:
SQL statements are not case sensitive, unless indicated.
SQL statements can be entered on one or many lines.
Keywords cannot be split across lines or abbreviated.
Clauses are usually placed on separate lines for readability and ease
of editing.
Indents should be used to make code more readable.
Keywords typically are entered in uppercase; all other words, such as
table names and columns, are entered in lowercase.
END