Database Systems: Design  Implementation  & Management
Database Systems: Design Implementation & Management
11th Edition
ISBN: 9781305850378
Author: Coronel
Publisher: Cengage
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.
Task 1: ER diagram for give scenario Consider building a database for a shopping mall with requirements as follows:  Each product of the shopping mall has a unique project No, and also has a name, a supplier name, a category, a purchase price and a selling price.  Products need to be supplied from suppliers. Each product has one supplier, but a supplier may supply many products for the shopping mall.  Each supplier has a supplier name and address.  A purchase order for product from a supplier has a unique order No, and a date. The order specifies one or more products and their quantities required for a product.  A sales order for product to customers has a unique order No, and a date. The order specifies one or more products and their quantities required for a product  The shopping mall has warehouses. Each warehouse has a warehouse number, an address and a contact phone number. Each warehouse has shelves to store products. Each shelf has a shelf-number and a capacity. The shelf…
Knowledge Booster
Background pattern image
Similar 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