Normalization divides larger tables into smaller tables and links them using relationships. First Normal Form, second normal form and third normal form.
MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...
Database Normalization slides
1. 1st Normal Form 2nd Normal Form 3rd Normal Form Boyce-Codd NF 4th Normal Form 5th Normal Form 6th Normal Form
What is Normalization?
• Normalization divides larger tables into smaller tables and links them
using relationships.
• The purpose of Normalization is to eliminate redundant (useless) data
and ensure data is stored logically.
• However, in most practical applications, normalization achieves its
best in 3rd Normal Form.
2. 1st Normal Form 2nd Normal Form 3rd Normal Form Boyce-Codd NF 4th Normal Form 5th Normal Form 6th Normal Form
Movies Rented column has multiple values.
Full Names Physical Address Movies Rented Salutation
Janet Jones First Street Plot No 4 Pirates of the Caribbean,
Clash of the Titans
Ms.
Robert Phil 3rd Street 34 Forgetting Sarah Marshal,
Daddy’s Little Girls
Mr.
Robert Phil 5th Avenue Clash of the Titans Mr.
3. 1st Normal Form 2nd Normal Form 3rd Normal Form Boyce-Codd NF 4th Normal Form 5th Normal Form 6th Normal Form
Homework
Read, discuss (with each other) and understand Functional Dependence (Page 151)
4. 1st Normal Form 2nd Normal Form 3rd Normal Form Boyce-Codd NF 4th Normal Form 5th Normal Form 6th Normal Form
Homework
Question: Assume the following columns exist in a relation named Student:
• StudentNum (student number)
• StudentLast (student last name)
• StudentFirst (student first name)
• HighSchoolNum (number of the high school from which the student graduated)
• HighSchoolName (name of the high school from which the student graduated)
• AdvisorNum (number of the student’s advisor)
• AdvisorLast (last name of the student’s advisor)
• AdvisorFirst (first name of the student’s advisor)
Student numbers, high school numbers, and advisor numbers are unique; no two students
have the same number, no two high schools have the same number, and no two advisors have
the same number.
Use this information to determine the functional dependencies in the Student relation.
5. 1st Normal Form 2nd Normal Form 3rd Normal Form Boyce-Codd NF 4th Normal Form 5th Normal Form 6th Normal Form
Normal Forms
• In the next video, we will discuss the 1st Normal Form.
6. 1st Normal Form 2nd Normal Form 3rd Normal Form Boyce-Codd NF 4th Normal Form 5th Normal Form 6th Normal Form
Good Bye
7. 1st Normal Form 2nd Normal Form 3rd Normal Form Boyce-Codd NF 4th Normal Form 5th Normal Form 6th Normal Form
Transcription
• Bismillah and Assalam o Alikum
• SLIDE 1:
• Instead of having a one big table, Normalization will helps you to make smaller tables,
and link them into a relationship.
• We already know, how to create tables and how to create their relationships.
• The main purpose of NORMALIZATION is to remove the duplicate data or useless data.
• In total, we have 6 normal forms, but if we reach 3rd normal form, that will produce the
best result, for most of the applications.
• SLDIE 2:
• Here, we have a movie table, which has multiple values in one of the column, i.e. “Movie
Rented” column. This shows that this table is not NORMALIZED.
• We will move, step by step, to reach 3rd normal form, for this table.
• SLIDE 3:
• Homework, on (Page 151), Try to read and understand Functional Dependence topic.
• SLIDE 4:
• In the next video, we will discuss the 1st Normal Form.