








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
Material Type: Notes; Professor: Pramanik; Class: Advanced Database Systems; Subject: Computer Science & Engineering; University: Michigan State University; Term: Spring 2008;
Typology: Study notes
1 / 14
This page cannot be seen from the preview
Don't miss anything!









Non-1NF Table for course: CourseNo Teachers/OfcHr Texts/Pub
c1 {t1/o1,t2/o2} {x1/p1,x2/p2} c2 {../..,../..} {../..,../..} 1NF table for course: CourseNo Teachers OfcHr Texts Pub
c1 t1 o1 x1 p c1 t1 o1 x2 p c1 t2 o2 x1 p c1 t2 o2 x2 p c .. .. .. .. 4NF decomposition for course to minimize redundancies: (based on multivalued dependency) CT: | CX: | XP: CourseNo Teachers OfcHr | CourseNo Texts | Text Pub ------- ------- ----- | -------- -----| ---- --- c1 t1 o1 | c1 x1 | x1 p c1 t2 o2 | c1 x2 | x2 p c2 .. .. | c2 .. | .. ..
Nested Relation for course (non-first normal form (not flat)): CourseNo Teachers Texts
| T O | | X P | |--- ---| |------| c1 | t1 o1 | | x1 p1| | t2 o2 | | x2 p2|
c2 | .. .. | | .. ..|
Assume the following nested|Relation CTX |Relation relation CTX: |using references: |teachers: Course Teachers Texts |Course Texts Teachers| No |No | T O ----- -------- ----- |----- ----- --------|--- --- | T O | | X P | | | X P | O------>t1 o |--- ---| |--- ---| | |--- ---| O------>t2 o c1 | t1 o1 | | x1 p1 | | c1 |x1 p1 | | ^ | t2 o2 | | x2 p2 | | |x2 p2 | | | ------------------------- |--------------------- | | | T O | | X P | | | X P | | | |--- ---| |--- ---| | c2 |--- ---| O-----|--| c2 | t1 o1| |x3 p3 | | | x3 p3| O-----|--| | t2 o2| | | | | | |