5NF
Duration: 18 min
This video lesson is available to enrolled students.
Enroll to watch — Coal India Management Trainee (CS) Recruitment 2026
AI summary & chapters
AI Summary
An AI-generated summary of this video lecture.
This lecture introduces Fifth Normal Form (5NF) as the final stage in a normalization sequence that includes 1NF, 2NF, 3NF, BCNF, and 4NF. A relation is in 5NF if it is already in 4NF and every non-trivial join dependency (JD) is implied by the candidate keys of the relation. The instructor frames 5NF as removing redundancy caused by complex many-to-many-to-many relationships, using a Supplier-Part-Project example. A sample table SUPPLIER_PART_PROJECT with columns Supplier, Part, and Project contains rows such as S1/P1/J1, S1/P1/J2, S1/P2/J1, and S1/P2/J2. The business rule states that if a supplier supplies a part and works with a project, the corresponding combination is valid. The three-way relationship can be represented using three binary relationships: SP, SJ, and PJ. The lecture walks through decomposing the original relation into these three binary tables and then joining them back to reconstruct SUPPLIER_PART_PROJECT, demonstrating a lossless decomposition. A comparison between 4NF and 5NF is presented: 4NF deals with multivalued dependencies (MVDs), while 5NF deals with join dependencies (JDs) and is also called Project-Join Normal Form. The instructor annotates the comparison table to emphasize that 5NF requires no non-trivial join dependencies except those implied by candidate keys.
Chapters
0:00 – 2:00 00:00-02:00
The lecture opens with a title slide reading 'Decomposition Properties & 4NF' and an underlined subtitle 'Fifth Normal Form (5NF)'. The content page defines 5NF with two bullets: 'It is already in 4NF, and' and 'Every non-trivial join dependency (JD) is implied by the candidate keys of the relation.' The instructor writes '1NF, 2NF' in red under the title, then adds ', 3NF', 'BCNF, 4NF' to complete the normalization sequence. The slide explains that 5NF removes redundancy from complex many-to-many-to-many relationships and asks 'Why do we need 5NF?', using a Supplier-Part-Project example.
2:00 – 5:00 02:00-05:00
A table titled SUPPLIER_PART_PROJECT is shown with columns Supplier, Part, Project and four rows: S1/P1/J1, S1/P1/J2, S1/P2/J1, S1/P2/J2. On-screen text reads 'Suppose the business rule is:' followed by a sentence about a supplier supplying a part and working with a project, ending 'the corresponding combination is valid.' A line at the bottom states 'Here, the three-way relationship can be represented using three binary relationships.' Red handwritten annotations build up: a boxed note with 'CK' crossed out by an arrow to 'non-trivial join dependency', red letters S, P, J beside column headers, braces marking value groups, and an annotation completing to 'CK { (S, P, J) }'.
5:00 – 10:00 05:00-10:00
The instructor explains the non-trivial join dependency in the Supplier-Part-Project relation that violates 5NF. The three-way relationship is decomposed into three binary relationships: SP, SJ, and PJ. The instructor writes 'S -> P' in the top right corner, adds 'P -> J' and 'S -> J' with a cross mark next to them, writes the word 'Decomposition', and lists the decomposed relations as SP, SJ, and PJ. A second slide headed 'Fifth Normal Form (5NF)' reiterates the definition bullets, and red notes box 'non-trivial join dependency' with an arrow to '5NF', while a left box is labeled 'Join Dep'. The term '(MVD)' and 'many-to-many-to-many' appear on screen.
10:00 – 15:00 10:00-15:00
The opening slide is headed 'Fifth Normal Form (5NF)' with the sequence 1NF, 2NF, 3NF, BCNF, 4NF written in red beneath it. Two definition bullets read 'It is already in 4NF, and (MVFD)' and 'Every non-trivial join dependency (JD) is implied by the candidate keys of the relation.' The example line 'Supplier ↔ Part ↔ Project' is circled in red, with handwritten arrows pointing to the entity pairs SP, PJ and SJ. A 'Step 1: Decompose into three relations' slide displays the tables SUPPLIER_PART, SUPPLIER_PROJECT and PART_PROJECT with rows such as S1-P1, S1-J1 and P2-J2. A 'Step 2: Join the relations' slide shows SUPPLIER_PART + SUPPLIER_PROJECT + PART_PROJECT combining into SUPPLIER_PART_PROJECT, then a tree splitting that table into SP, SJ, and PJ.
15:00 – 18:13 15:00-18:13
The video explains 5NF (Project-Join Normal Form) by demonstrating how a non-trivial join dependency can be reconstructed from decomposed tables. A diagram shows the reconstruction of SUPPLIER_PART_PROJECT from SP, SJ, and PJ tables. A comparison table between 4NF and 5NF is presented: the 'Requirement' row contrasts 'non-trivial MVD' with 'candidate key', and the 'Also called' row circles 'Project-Join Normal Form (PJ/NF)'. The instructor annotates the table to emphasize that 5NF removes join-based redundancy and deals with complex relationships, requiring no non-trivial join dependencies except those implied by candidate keys. On-screen text includes 'What does 5NF do?', 'lossless', 'Multivalued Dependency (MVD)', and 'Join Dependency (JD)'.
The lecture builds 5NF as the culmination of a normalization hierarchy. It begins by positioning 5NF after 1NF, 2NF, 3NF, BCNF, and 4NF, then defines it precisely: a relation is in 5NF if it is already in 4NF and every non-trivial join dependency is implied by the candidate keys. The motivation is redundancy in many-to-many-to-many relationships, illustrated with a Supplier-Part-Project table. The core worked example decomposes the three-column relation into three binary relations (SP, SJ, PJ) and then joins them back losslessly to reconstruct the original table. This decomposition-join cycle demonstrates that the join dependency is non-trivial and not implied by candidate keys, hence violating 5NF. The final comparison table distinguishes 4NF (governed by multivalued dependencies) from 5NF (governed by join dependencies, also called Project-Join Normal Form), clarifying that 5NF eliminates the last class of redundancy tied to complex multi-way relationships.