DATABASE SYSTEMS
DATABASE SYSTEMS
13th Edition
ISBN: 9780357095607
Author: Coronel
Publisher: CENGAGE L
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.
Assignment Brief: Some of the most difficult decisions that you face as a database developer are what tables to create and what columns to place in each table, as well as how to relate the tables that you create. Normalization is the process of applying a series of rules to ensure that your database achieves optimal structure. Normal forms are a progression of these rules. Each successive normal form achieves a better database design than the previous form did. Based on your understanding for the various normal form respond to the following problems and provide the optimal answer/solution. Problem#1: 1st Normal Form (1NF) Consider the Students table, with the primary key underlined, and the following data: Students: Alpha 100111 Email doe@usna.edu Name Courses GradePoints NN204, SI204, IT221 SM223, EE301 SI204 John Doe 2,3,3 Matt Smith 092244 113221 smith@usna.edu black@usna.edu 4,4 Melinda 3 Black NN204, SI204, IT221 090112 Tom Johnson Johnson@usna.ed 4,2,3 u a) Is the Students table…
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