Normalization
1NF
2NF
3NF
1NF
1) A cell must never contain more than one value
Sname
Rehan
David
2) Each column name must be unique
Sname
Rehan
David
3) There must be no repeating groups
Sname
Rehan
David
Rehan
David
4) Each row must be unique (Column ----> Primary Key)
Sname
Rehan
David
Rehan
David
* composite primary Key column ---> a cell will contain more than value (if you don't have option)
Sname
Rehan
David
Rehan
David
2NF
1) All the rules of first normalization form must be followed
2) All data must depend on the (Whole) Primary Key column (If any column do not depend upon the
Primary Key column then you should spilt the data (Table) into two different tables)
3NF
1) All the rules of the second Normalization must be followed
2) The Primay Key must fully define all non - key columnns and non key columns must not depend on
any other Key column
Student (Table Name)
Sname courseid , course courseid, course
Rehan 10, Python 11, Power BI
David 20, Excel 21, Tableau
courseid COURSE courseid course
10 Python 11 Power BI
20 Excel 21 Tableau
courseid COURSE_1 courseid_1 course
10 Python 11 Power BI
20 Excel 21 Tableau
courseid COURSE_1
10 Python
20 Excel
11 Power BI
21 Tableau
courseid (PRIMARY KEY COLUMN) COURSE_1
10 Python
20 Excel
11 Power BI
21 Tableau
courseid (PRIMARY KEY COLUMN) COURSE_1
10,Python Python
20, Excel Excel
10, Power bi Power BI
21, Tableau Tableau
Student
student_id (Primary Key) student_name course_id course_name
S1 Tom C10 Excel
S2 Harry C20 Power_BI
S3 David C30 Tableau
Student
student_id (Primary Key) student_name course_ID (FK)
S1 Tom C10
S2 Harry C30
S3 David C10
student_id (Primary Key) student_name Pincode Job_ID
S1 Tom 455525 J100
S2 Harry 55425 J200
S3 David 152563 J300
Course
course_id (Primary Key ) course_name
C10 Excel
C20 Power_BI
C30 Tableau
Job
Job_ID Job_role
J100 MIS engineer
J200 Tableau Developer
J300 MIS engineer