5NF

Duration: 18 min

This video lesson is available to enrolled students.

Return to /learn/HPSC-PGT-COMPUTER-SCIENCE/database-management-system/decomposition-properties-4nf/fifth-normal-form-5nf/asset-5nf after enrolling

Inside: a video lesson and guided study material.

Module outline

  1. HPSC Interview Preparation: Interview Preparation
  2. Python Language: Introduction to Python Tokens, Variables, Data Types, I/O Operators & Expressions Control Flow & Looping Collections & Strings Functions & Modules File Handling & Data Analysis DSA using Python
  3. Data Structure & Algorithms: Introduction to DS Array Stack Queue Linked List Tree Graphs Hashing Algorithm Analysis Sorting Algorithms Minimum Spanning Trees Time Complexity Analysis Graph Theory Shortest Path Algos
  4. Computer Networks: Introduction to CN Data Communication DLL: Access Control DLL: Flow Control Data Link Layer - Ethernet Net Layer: IPv4 & Proto Net Layer: IP Addressing Transport Layer Services TL: Congestion & UDP Application Layer Hardware basics Network Security
  5. Computer System & Organisation: Basics of COA Cache Memory Organization Input Output Organisation Pipelining Instr Formats & Modes Control Unit Design Programming the Basic Computer
  6. Database Management System: Basics of DBMS ER Diagram Relational Model & Functional Dependencies Keys & Integrity Constraints Normalization (1NF - BCNF) Decomposition Properties & 4NF SQL File Organization & Indexing Transaction Management Concurrency Control
  7. Operating Systems: Introduction to OS Process Management CPU Scheduling Process Synchronization Deadlock Threads & Process Creation Memory Management Virtual Memory Disc Scheduling
  8. Digital Logic & Circuits: Digital Systems & Boolean Basics Logic Gates & Hardware Boolean Expression Boolean Minimization Combinational Circuit Sequential Circuits Number System Number Representation
  9. Theory Of Computation: Introduction to TOC Deterministic FA (DFA) Non-Deterministic FA Regular Expressions Grammar Regular Language Properties Pushdown Automata & CFG Turing Machines
  10. Compiler Design: Intro to Compilers Lexical Analysis Grammar & CFG Syntax Analysis: Top-Down Syntax Analysis: Bottom-Up Semantic Analysis & SDT Intermediate Code Gen Code Optimization Run Time Environment
  11. Software Engineering: Fundamentals of Software Engineering Software Requirements and Quality Assurance Software Design, Estimation and Metrics Software Testing Software Maintenance and Configuration Management Data Warehousing & Mining
  12. Introduction to Emerging Trends: Emerging Trends and AI Sets, Relations, Functions and Discrete Mathematics Trade, Marketing and Consumer Protection Internet of Things Cloud Computing अनुक्रम, श्रेणी और संयोजन आव्यूह और रैखिक बीजगणित वास्तविक और सम्मिश्र विश्लेषण Mathematics Pedagogy International Economics Electrostatics and Current Electricity Optics and Photonics Folk Art and Crafts Analysis of Financial Statements Business Foundations and Entrepreneurship Number Systems and Number Theory Solid State Physics and Electronics Number System Multimedia Network Access Technologies
  13. Digital Society & Cyber Law: Society, Law & Ethics Teaching Aids and Educational Technology Digital India and Online Services Culture, Socialisation and Social Control Communication Contexts and Media Public Administration and Governance MS Office Applications Language Design Web Publishing & Hosting C Fundamentals Internet Fundamentals
  14. HPSC PGT Previous Year Paper:
  15. HPSC Assistant Professor Previous Year Paper:
  16. Live Sessions: HPSC Live Sessions EMRS TGT/PGT Live Class
  17. Full Mock Test:
  18. HPSC PGT - MOCK Test Series:
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

  1. 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. 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) }'.

  3. 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.

  4. 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.

  5. 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.

Loading lesson…