Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A movie may have many actors, and an actor can act in many movies. A movie may have many animators working on it, and an

A movie may have many actors, and an actor can act in many movies.

A movie may have many animators working on it, and an animator may work on many different movies.

Suppose we try to represent this in our database using a single "Credits" table, with columns movie_id, actor_id and animator_id.

The key of the table is the combination of all 3 attributes.

The attributes are each foreign keys to tables for Movies, Actors and Animators, respectively. What is wrong with this?

A movie may have many actors, and an actor can act in many movies.

A movie may have many animators working on it, and an animator may work on many different movies.

Suppose we try to represent this in our database using a single "Credits" table, with columns movie_id, actor_id and animator_id.

The key of the table is the combination of all 3 attributes.

The attributes are each foreign keys to tables for Movies, Actors and Animators, respectively. What is wrong with this?

a, An actor may play more than one role in the same movie

b. The table would be too big

c. Not all movies have actors

d. Either the actor_id or animator_id field would be null

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Database Management

Authors: Jeff Hoffer, Ramesh Venkataraman, Heikki Topi

13th Edition Global Edition

1292263350, 978-1292263359

More Books

Students also viewed these Databases questions

Question

600 lb 20 0.5 ft 30 30 5 ft

Answered: 1 week ago