Data Management in Bioinformatics/Exercise 1
From Wikibooks, open books for an open world
Figures are here: http://pipe.cs.vt.edu/~pbutler/bi_and_db/ until I can upload them (takes 4 days to get confirmed for media upload).
- File:Problem1.svg
Notes: 1) For each reservation, 1 <= # of drivers <= 10 
Notes:- A book seller must have at least one store.
- A book store must be either web-based or brick, but not both.
- Maximum: n is the case where all n are one-to-one. Minimum: n-1 is the case where n-1 one-to-many
- File:Problem4.svg
- File:Problem5.svg
-
FD Trivial 
YES 
NO 
NO 
NO 
NO 
YES MD Trivial 
YES 
NO 
YES - Obvious
- R(A,B,C,D,E,G) decomposes into R1(A,B,C), R2(A,C,D,E), R3(A,D,G)
The FDs
,
are not preserved.
R1 and R2 are decomposed losslessly because
R2 and R3 are decomposed losslessly because
and
translates into 
- #6 redone
- There are several solutions to this:
LHS RHS 
A − C B − C B (superset) 
A − B C − B C (superset)
This page may need to be 









,
are not preserved.
and 
