







Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
These lecture slide are very easy to understand and very helpful to built a concept about the foundation of computers and Database Design.The key points in these slide are:Multivalued Dependencies, Functional Dependency, Domain and Range, Set of Possible Values, Full Constraint, Sets of Attributes, Tuple-Generating Dependency, Embedded Constraint, Lossless-Join Decomposition, Split of Relations
Typology: Slides
1 / 13
This page cannot be seen from the preview
Don't miss anything!








b
c
4
Q
$
Domain (X) (^) Range (Y)
a
Smith
Jones
Cooper
Anna John
Lila
Elsa Chris Employee (X) Dependent (Y)
Let R be a relation schema and let and. The
multivalued dependency α - >> β holds on R if, in any legal relation r ( R ), for all pairs of tuples t 1 and t 2 in r such that t 1[α] = t 2[α], there exist tuples t 3 and t 4 in r such that t 1[α] = t 2[α] = t 3[α] = t 4[α] t 3[β] = t 1[β] t 3[ R − β] = t 2[ R − β] t 4[β] = t 2[β] t 4[ R − β] = t 1[ R − β]
two tuples of R agree on all the attributes of X , then their components in Y may be swapped, and the result will be two tuples that are also in the relation.
independent of the values of R - X - Y.
Here is possible data satisfying these MVD’s:
name areaCode phone beersLiked manf Sue 650 555-1111 Bud A.B. Sue 650 555-1111 WickedAle Pete’s Sue 415 555-9999 Bud A.B. Sue 415 555-9999 WickedAle Pete’s
But we cannot swap area codes or phones by themselves. That is, neither name->->areaCode nor name->->phone holds for this relation.
The following also involve functional dependencies:
Original table Decomposition
Reconstruction