Question: 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. 2.

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.

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!