Professional Documents
Culture Documents
Redundancy
• Second Normal Form (2NF)
• Third Normal Form (3NF)
Number of Tables
• Boyce-Codd Normal Form (BCNF)
• Fourth Normal Form (4NF)
Complexity
• Fifth Normal Form (5NF)
• Domain Key Normal Form (DKNF)
Most
Mostdatabases
databasesshould
shouldbe
be3NF
3NFor
orBCNF
BCNFininorder
ordertotoavoid
avoidthe
thedatabase
databaseanomalies.
anomalies.
First normal from
• not contain any composite or multi-valued attribute.
• A relation is in first normal form if every attribute in that relation is
singled valued attribute.
• Attribute Domain does not change.
• There is a unique name for every Attribute/Column.
• The order in which data is stored does not matter.
• No rows may be duplicated
• no columns may be duplicated
• Example
S_Id Full Name Phone Phone Department
Phone table
Student table
Forighn key
Primary key
Second Normal Form (2NF)
For a table to be in 2NF, there are two requirements
• The database is in first normal form
• All nonkey attributes in the table must be functionally dependent on the entire
primary key
Note: Remember that we are dealing with non-key attributes