Professional Documents
Culture Documents
Presented By :
Samarth B. Pandya
What is Normalization
Relationships
One-to-One
One-to-Many
Many-to-Many
Why Use a Relational
Database?
Solution:
Make a separate table of each set of
attributes with primary key & foreign key
relationship.
Second Normal Form (2NF)
Basic Rule
Every non-key column is fully dependent
on the primary key.
Means: Repeating fields must be
separated in new table
Third Normal Form (3NF)
Basic Rule
In 2NF every non-key column is mutually
independent
Means: Calculations must not be in tables
Solution:
Any type of mathematical calculations must not
be in database, it must be in queries.
What After 3NF??
• BCNF (More restricted version of 3NF)
• 4NF
• 5NF
Primary Key
Unique identifier for every row in the table.
It is the constraint on the table.
Not Null
Foreign Key
Primary Key of the Parent’s table.
It provide reference between parent & child
table
Referential Integrity
• Every piece of Primary key & foreign key
data provides referential integrity.