Database Systems: Design, Implementation, & Management
Database Systems: Design, Implementation, & Management
11th Edition
ISBN: 9781285196145
Author: Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Publisher: Cengage Learning
Expert Solution & Answer
Book Icon
Chapter 9, Problem 5P

Explanation of Solution

Design of video rental database:

The below is the design of video rental database that includes the support of all rental activities such as customer payment, work schedule of the employee, checkout which employee has processed the videos for the customers.

Explanation:

  • Every movie is classified based on the type and the relationship between MOVIE and TYPE is N:1.
  • One movie gets rented many times and the relationship between the MOVIE and RENTAL is 1:N.
  • Every customer needs to pay for the rental made and the relationship between CUSTOMER and RENTAL is 1:N.
  • Employee gathers details and writes about the rental made and the relationship between EMPLOYEE and RENTAL is 1:N.
  • Every employee sign a work log and the relationship between the EMPLOYEE and WORK_LOG is 1:N
  • Every schedule of the Employee gets enters and the relationship between the EMPLOYEE and Schedule is 1:N...

Blurred answer
Students have asked these similar questions
You are to design a Hospital database. So before creating the database, your task is to draw the ER diagram based on the following data collected and analyzed:   A hospital will have a name, unique id, multiple helpline numbers (one for doctor's appointment, one for ambulance, one for bill information and one for other services' info) and locations. A hospital may have more than one location as it may have different branches and each of the locations will have a building no., street address, road no. and city name. A patient will have a name, unique ID, may have more than one phone number, age, height, weight and symptoms.  A patient takes an appointment in a hospital and the appointment date is recorded. A patient may have an attendant. An attendant will have his/her name, contact numbers and relationship with the patient as a record in the database. Due to the covid situation, the hospital authorities will only allow 1 attendant with 1 patient.
You are to design a Hospital database. So before creating the database, your task is to design the ER diagram based on the following data requirements: The hospital has departments. Each department has a name, department ID, location. Location consists of floor number and wing number (which will contain the values North, South, East or West). b. Doctors work for the department. Doctors have license number., name, title, multiple specializations. Some doctors supervise other doctors. c. A patient will have a name, unique ID. may have more than one phone number, age, height, weight and symptoms. d. Patients take appointments from doctors. Appointment date and time is recorded. e. A patient may have an attendant. An attendant will have his/her name and relationship with the patient as a record in the database. The hospital allows 1 attendant with each patient. Write down any assumptions you may have made.
Indicate the changes (using the shorthand representation) that you would need to make to the original KimTay Pet Supplies database design to support the following requirements. There is no relationship between customers and sales reps. When a customer places an order, any sales rep can process the order and create the invoice. On the invoice, you need to identify both the customer placing the order and the sales rep responsible for the invoice. Draw an E-R diagram for the new design.
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781305627482
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Text book image
Principles of Information Systems (MindTap Course...
Computer Science
ISBN:9781305971776
Author:Ralph Stair, George Reynolds
Publisher:Cengage Learning
Text book image
A Guide to SQL
Computer Science
ISBN:9781111527273
Author:Philip J. Pratt
Publisher:Course Technology Ptr
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781285196145
Author:Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Publisher:Cengage Learning