Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Draw an E/R diagram for the database described below. Select and specify key attributes in the diagram, and indicate appropriate referential integrity constraints. Show

1. Draw an E/R diagram for the database described below. Select and specify key attributes in the diagram, and indicate appropriate referential integrity constraints. Show weak entities and relationships as well.

2. Convert the E/R diagram to a relational database schema.

* TomKat Entertainment is a chain of theaters. The owners desire a database to track what is playing or has played on

each screen in each theater of their chain at different times of the day.

- A theater (identified by a Theater_ID and described by a theater name and location) contains one or more screens for viewing various movies.

- Within each theater each screen is identified by its number and Theater_ID, and is described by the seating capacity for viewing the screen.

- Movies are scheduled for showing in time slots each day. Each screen can have different time slots on different days (i.e., not all screens in the same theater have movies starting at the same time, and even on different days the same movie may play at different times on the same screen). For each time slot, the owners also want to know the start time and end time of the time slot (assume all slots end on the same day the slot begins), attendance during that time slot, and the price charged for attendance in that time slot.

- Each movie (which can be either a trailer, feature, or commercial) is identified by a Movie_ID and further described by its title, duration, and type (i.e., trailer, feature, or commercial).

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_2

Step: 3

blur-text-image_3

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

Sams Teach Yourself Beginning Databases In 24 Hours

Authors: Ryan Stephens, Ron Plew

1st Edition

067232492X, 978-0672324925

More Books

Students also viewed these Databases questions