Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Suppose we have a relation Bookings( title, theater, city) where the meanings of the attributes are as follows: title: the name of the movie theater:
Suppose we have a relation Bookings( title, theater, city) where the meanings of the attributes are as follows: title: the name of the movie theater: the name of a theater where the movie is being shown city: the city where the theater is located The meaning of a tuple (m, t, c) in this relation is that the movie with title m is currently being shown at theater t in city c. What does each of the following functional dependencies over the tuples of the relation Bookings assert? a. F = {theater-) city, title city-) theater) Find all candidate keys for the Bookings relation with respect to the set of functional dependencies F. b. Is the Bookings relation in BCNF? If it is not, state why and give a join lossless BCNF decomposition of Bookings w.r.t. F c. d. Is the decomposition in part (c) dependency preserving? Explain why or why not
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started