next up previous
Next: Theory of Multivalued Dependencies Up: Normalization Using Multivalued Dependencies Previous: Normalization Using Multivalued Dependencies

Multivalued Dependencies

  1. Functional dependencies rule out certain tuples from appearing in a relation.

    If A tex2html_wrap_inline1526 B, then we cannot have two tuples with the same A value but different B values.

  2. Multivalued dependencies do not rule out the existence of certain tuples.

    Instead, they require that other tuples of a certain form be present in the relation.

  3. Let R be a relation schema, and let tex2html_wrap_inline1732 and tex2html_wrap_inline1734 .

    The multivalued dependency

    displaymath1886

    holds on R if in any legal relation r(R), for all pairs of tuples tex2html_wrap_inline1906 and tex2html_wrap_inline1908 in r such that tex2html_wrap_inline1912 , there exist tuples tex2html_wrap_inline1914 and tex2html_wrap_inline1916 in r such that:

      tex2html_wrap_inline1920 
    

    tex2html_wrap_inline1922

    tex2html_wrap_inline1924

    tex2html_wrap_inline1926

    tex2html_wrap_inline1928

  4. Figure 7.5 (textbook 6.10) shows a tabular representation of this. It looks horrendously complicated, but is really rather simple. A simple example is a table with the schema (name, address, car), as shown in Figure 7.6.

      figure583
    Figure 7.5:   Tabular representation of tex2html_wrap_inline1970 .

      figure599
    Figure 7.6:   (name, address, car) where tex2html_wrap_inline1974 and tex2html_wrap_inline1976 .

  5. Look at the example relation bc relation in Figure 7.7 (textbook 6.11).

      figure612
    Figure 7.7:   Relation bc, an example of redundancy in a BCNF relation.

      figure628
    Figure 7.8:   An illegal bc relation.

  6. Note that if a relation r fails to satisfy a given multivalued dependency, we can construct a relation r' that does satisfy the multivalued dependency by adding tuples to r.

next up previous
Next: Theory of Multivalued Dependencies Up: Normalization Using Multivalued Dependencies Previous: Normalization Using Multivalued Dependencies

Osmar Zaiane
Thu Jun 18 12:56:34 PDT 1998