All About Multivaluated Dependency

Duration: 8 min

This video lesson is available to enrolled students.

Return to /learn/HPSC-PGT-COMPUTER-SCIENCE/database-management-system/decomposition-properties-4nf/multivalued-dependency-mvd-4nf/asset-all-about-multivaluated-dependency 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, Moore & Mealy 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 Tech Trends
  13. Digital Society & Cyber Law: Society, Law & Ethics
  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 Multivalued Dependencies (MVDs) as a consequence of First Normal Form (1NF) restrictions, which disallow attributes from having sets of values. The instructor defines the notation $A woheadrightarrow B$ and distinguishes it from functional dependencies using a table example. The concept of trivial MVDs is explained, where the right-hand side is a subset of the left-hand side or they form the entire relation. Finally, a detailed example of a Student relation demonstrates how MVDs cause redundancy even when a schema is in BCNF, illustrating the cross-product effect of independent multivalued attributes.

Chapters

  1. 0:00 – 2:00 00:00-02:00

    The video begins with the title 'Multivalued Dependency' on the slide. The first bullet point states that MVDs are a 'consequence of first normal form (1NF) which disallows an attribute in a tuple to have a set of values'. The instructor introduces the notation $A woheadrightarrow B$, explaining it means 'for every value of A, there may exist more than one value of B'. He writes $A ightarrow B$ on the screen, then corrects it to $A woheadrightarrow B$. He draws a table with columns A and B, populating it with values: 1 maps to a, 2 maps to a, and 1 maps to b. This visual demonstrates that for A=1, there are multiple values of B (a and b), which is characteristic of a multivalued dependency rather than a functional dependency.

  2. 2:00 – 5:00 02:00-05:00

    The lecture transitions to 'trivial multivalued dependency'. The slide text defines this as a dependency $X woheadrightarrow Y$ where 'either Y is a subset of X, or X and Y together form the whole set of attributes of the relation'. The instructor writes 'T' for Trivial and 'NT' for Non-Trivial. He provides an example $AB woheadrightarrow B$, labeling AB as LHS and B as RHS. He writes the condition $RHS \subseteq LHS$ to show that if the right-hand side is a subset of the left-hand side, the dependency is trivial. He draws a table with columns X and Y to visualize this relationship, reinforcing that if Y is contained within X, the dependency holds trivially.

  3. 5:00 – 7:33 05:00-07:33

    The instructor presents a concrete example using a relation named 'Student'. The slide lists two constraints: $S\_name woheadrightarrow Club\_name$ and $S\_name woheadrightarrow P\_no$. He shows two decomposed tables: one linking Kamesh to Dance and Guitar, and another linking Kamesh to phone numbers 123 and 789. He then displays a combined table with columns S_Name, Club_name, and P_no. He explains that because the club names and phone numbers are independent multivalued attributes, the combined table must contain the cross-product of these values. This results in four rows: (Kamesh, Dance, 123), (Kamesh, Guitar, 123), (Kamesh, Dance, 789), and (Kamesh, Guitar, 789). He circles the P_no values 123 and 789 to highlight the repetition. A note at the bottom states the schema is in BCNF but still has redundancy due to MVD.

The lesson progresses from the theoretical definition of Multivalued Dependencies as a consequence of 1NF to the specific notation $A woheadrightarrow B$. It clarifies the distinction between functional and multivalued dependencies through visual table examples. The concept of trivial MVDs is then defined based on subset relationships between attributes. Finally, the practical implication of MVDs is demonstrated using a Student relation, showing how independent multivalued attributes create a cross-product effect that leads to data redundancy, even in a BCNF schema.

Loading lesson…