Answered step by step
Verified Expert Solution
Question
1 Approved Answer
We have this relation Movie (Title, Year, Length, Actor, Genre, Studio, Rating, City_Studio) Title Year Length Actor Genre Studio Rating City_Studio Jaws 1975 124 Roy
We have this relation Movie (Title, Year, Length, Actor, Genre, Studio, Rating, City_Studio) Title Year Length Actor Genre Studio Rating City_Studio Jaws 1975 124 Roy Schneider Horror Universal R Hollywood Jaws 1975 124 Robert Shaw Horror Universal R Hollywood Jaws 1975 124 Richard Dreyfus Horror Universal R Hollywood Alien 1979 117 Sigourney Weaver Sci-Fi Fox R Hollywood Mary Poppins 1964 139 Julie Andrews Musical Disney Buena Vista Mary Poppins 1964 Dick Van Dyke Musical Disney Buena Vista Ben Hur 1959 139 212 212 Charlton Heston History PG-13 Hollywood MGM MGM Ben Hur 1959 Martha Scott History PG-13 Hollywood Ghostbusters 1984 105 Sigourney Weaver Fantasy Columbia PG Culver City Ghostbusters 1984 105 Bill Murray Fantasy Columbia PG Culver City Where: - A movie can have different versions in different years but not with the same actor - Example, you can have Jaws in 1975 and Jaws in 2019 but Roy Schneider can't be in both. - The rating can be different in the different versions of the same movie - So Jaws 1975 can be R and Jaws 2019 can be PG-13 - A movie can have only one Genre - Example, Alien is just sci-fi - A movie can not have different versions in the same year. - Example, we can't have two Jaws in 1975 - An actor can be in more than a movie the same year - Example: Charlton Heston can be in Ben Hur in 1959 and in Harry Potter in 1959 too (I know...I know... it is just an example) There is not any Studio with the headquarters in more than one city, but we can have 2 studios in the same city. - So, Universal can not be in Hollywood and in any other place, and MGM can be in Hollywood too. - An actor can work with more than one studio. - Example: Bill Murray can work in a Columbia's Movie and for MGM's movie 3) a- Is Movie in 1NF? Is Movie in 2NF? Is it in 3NF? Is it in BCNF? Explain why in each case. (5p) b- If it is not in BCNF, design it in a way that is in BCNF. Go step by step and explain all the steps, the reasons to take them and the functional dependencies involved in the decisions. (20p)
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