Question

Problem 1 : Movies ER Model

Consider a Database that keeps track of scenes filmed for different movies. A movie uses a screenplay (or story) which is broken down into scenes. The movie will also have the same scenes because it is a movie of that screenplay. Not all screenplays in the database become movies, but every movie is of a particular screenplay.
Also, a screenplay is used for only one movie. That is, there are not two different movies made of the same screenplay. Scenes have a story-location where the story takes place and a filming-location where the filming will actually be done. Each scene has some actors that appear in that scene. Actors have a name, phone number, address and agent that represents them. A scene can be filmed more than once (maybe the actor forgot their lines). Each filming of a scene is called a “Take”. The movie is typically created by using the best take of each scene and putting them together. Below is an E-R diagram that captures these requirements.

Using the proposed E-R diagram provided, answer the questions related to designing the tables. (Note: thick lines denote weakentities or mandatory participation in relationships.)

Also in your functional depdencies use TakeNo and SceneNo instead of Take# and Scene# (i.e. avoid the # character).

1SCREENPLAY MOVIE MovieTitle Produceir Director SPTitle Author Movie-of ACTOR ctorName Phone Address AgentName Scene-of SCENE Scene# StoryLocation FilmLocation Appears-In TAKE Take# Date 「ime Take-of


R1.1 [2 marks] Provide a set of Functional dependencies that completely captures all the features in the situation depicted by the ER diagram.

2 marks if the answer is correct and complete (e.g. functional dependencies completely capture what is represented in the ER model), 1 mark if it's incomplete, 0 marks if its wrong.

R1.2 [2 marks] Provide a minimal cover for the set of functional dependencies.

R1.3 [2 marks] Based on your minimal cover find a dependency preserving, 3rd normal form set of tables use for your database that captures all of the data intended by the E-R model. Show for each table in the decomposition, its key and the functional dependencies that apply to it (that is, map to it).

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Functional Dependencies and Tables :

Movie Table : (Movie Title, Director)-> Producer, {SPTitle}

Screenplay Table : (SPTitle,Author)->{Scene No}

Scene Table : (Scene No)-> Story Location,Film Location, {Take No} ,{Actor Name}

Take Table : (Take No)->Date, Time

Actor Table : (Actor Name)-> Phone Address, Agenet Name

() = Primary Key

{} = Foreign Key

Add a comment
Know the answer?
Add Answer to:
Problem 1 : Movies ER Model Consider a Database that keeps track of scenes filmed for...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Problem 1 Consider the following set of requirements for a university database that is used to...

    Problem 1 Consider the following set of requirements for a university database that is used to keep track of students' transcripts. (a) The university keeps track of each student's name, student number, social security number, current address and phone, permanent address and phone, birthdate, sex, class (freshman, sophomore, -, graduate), major department, minor department (if any), and degree program (B.A., B.S., ...., Ph.D.). Some user applications need to refer to the city, state, and zip of the student's permanent address,...

  • Overview This lab provides you the opportunity to insert and update data with the use of SQL comm...

    Overview This lab provides you the opportunity to insert and update data with the use of SQL commands. The lab will utilize the FLIX2YOU problem, the current schema. In order to start this lab, you must have successfully completed Lab # 6. In Lab # 6, you executed a script that was provided to you. This script created 7 of the FLIX2YOU tables as documented in the Entity Relationship Diagram in the FLIX2YOU problem document. The second part of lab...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT