All About Multivaluated Dependency

Duration: 8 min

This video lesson is available to enrolled students.

Enroll to watch — ISRO Scientist/Engineer 'SC'

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.