Upload
riteshkiit
View
430
Download
0
Embed Size (px)
Citation preview
Database Design
Normalization
• Data Protection
• Redundant data
• Inconsistent dependency
First Normal Form
• There should not be any repeating columns
• Eliminate repeating groups in individual tables.
• Create a separate table for each set of related data.
• Identify each set of related data with a primary key.
Second Normal Form
• Three should not be any functional dependency between key column and non key column
• Create separate tables for sets of values that apply to multiple records.
• Relate these tables with a foreign key.
Third Normal Form
• There should not be any functional dependency between two non key columns
• Eliminate fields that do not depend on the key.
One To One
• Student
• Student Detail
One To Many
• Student
• Phone Number
Many To Many
• Department
• Faculty
What is the nature of the application?
• OLTP
• OLAP
THANK YOU