

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
An exercise on functional dependencies and bcnf decomposition for a ticketholder schema. Students are asked to identify anomalies, test the decomposition, and ensure lossless-join and dependency-preserving properties. The goal is to understand the concepts of functional dependencies, bcnf normal form, and their implications for database design.
Typology: Assignments
1 / 2
This page cannot be seen from the preview
Don't miss anything!


Fall 2002 – CS 186 9/17/
9/17/02-Version 4-AS Page 1
Exercise : Consider the following instance of a Ticketholder schema that has TicketHolderTable(Concert, Artist, Theater, Date, Ticketholder, Seat) as attributes and the following functional dependencies: o { Concert } -> { Artist } o { Concert , Ticketholder } -> { Seat } o { Date , Ticketholder } -> { Concert } o { Date , Artist } -> { Theater } o { Date , Theater } -> { Concert }
Concert Artist Theater Date Ticketholder Seat 1234 David Murray 4 June 7, 7:00 PM 2154 47A 1234 David Murray 4 June 7, 7:00 PM 1129 47B 1234 David Murray 4 June 7, 7:00 PM 8510 12A 1234 David Murray 4 June 7, 7:00 PM 4243 11C 7253 Joe Henderson 2 June 7, 9:00 PM 9821 13F 7253 Joe Henderson 2 June 7, 9:00 PM 8435 47H 7253 Joe Henderson 2 June 7, 9:00 PM 2835 1A 1325 Joey Baron 3 June 7, 8:00 PM 7235 1A 1325 Joey Baron 3 June 8, 8:00 PM 8510 1B 1325 Joey Baron 3 June 8, 8:00 PM 2449 1C 7562 Steve Coleman 2 June 8, 7:30 PM 9821 1A 7562 Steve Coleman 2 June 8, 7:30 PM 8510 1B 7562 Steve Coleman 2 June 8, 7:30 PM 2154 1C
Questions on the Original Schema
Fall 2002 – CS 186 9/17/
9/17/02-Version 4-AS Page 2
Testing Properties of the Decomposition Our next task is to ensure that the decomposition we just performed is a lossless-join; if it is not, we will be unable to reconstruct the original relation!