3NF-Third Normal Form - NOTES
3NF-Third Normal Form - NOTES
Third Normal Form is an upgrade from Second Normal Form. When a table is in the Second Normal
Form and has no transitive dependency, then it is in the Third Normal Form. In our last discussion, we
learned about the second normal form and we normalized our Score table into the 2nd Normal Form.
Here, we use the same example, where we have 3 tables, Student, Subject and Score.
Student Table
student_id name reg_no branch address
Subject Table
subject_id subject_name teacher
Score Table
score_id student_id subject_id marks
1 10 1 70
2 10 2 75
3 11 1 80
NOTE: In the Score table, we need to store some more information, which is the exam name and total
marks, so let's add 2 more columns to the Score table.
score_id student_id subject_id marks exam_name total_marks
SOLUTION: - How to remove Transitive Dependency: Take out the columns exam_name and
total_marks from Score table and put them in an Exam table and use the exam_id wherever required!
1 Workshop 200
2 Mains 70
3 Practicals 30