Database Systems: Design Implementation & Management
11th Edition
ISBN: 9781305850378
Author: Coronel
Publisher: Cengage
expand_more
expand_more
format_list_bulleted
Expert Solution & Answer
Chapter 9, Problem 5P
Explanation of Solution
Design of video rental
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...
Expert Solution & Answer
Trending nowThis is a popular solution!
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…
Chapter 9 Solutions
Database Systems: Design Implementation & Management
Knowledge Booster
Similar questions
- 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…arrow_forwardProblem Statement: You are the CTO of a startup based out of Arlington, VA that needs to setup a database to keep track of the details of the customers: last name, first name, customer ID, street address, customer star rating (a rating on a 1– 5 scale, with 5 being best, representing the type of customer) and phone number. It also needs to keep track ofsimilar information for suppliers as well (although instead of supplier first and last name, there will just be a suppliercompany name). The database should maintain the data on products that are offered. Information about whichproduct is offered by which supplier should also be maintained. Finally, which customers have purchased whichproducts should also be tracked (note that we are only interested in which customers bought which product, but notconcerned about the date or how many were bought). 1.1 Business Rules: Assumptions for the business model are as follows:•Only customers that have purchased one or more products will exist in…arrow_forwardCreate a relational diagram for the database using crow’s foot notation. The ERD should include all the entities, relationships, and connectivity where applicable. 4 tables for the database: PATRON, BOOK_COPY, BOOK, and CHECKOUT. (Since a book may have multiple copies that may be purchased by the library at different time, it is better to have a BOOK_COPY table to avoid unnecessary data redundancy.) The data in the tables are as follows:                                      PATRON table records a patron’s ID, name, address, phone number, and email address. BOOK table contains information such as author, title, publication date, subject, language, and a unique identifier (It can be the ISBN of the book) for each book. BOOK_COPY table records a unique identifier for each copy of a book, the date of purchase, and the identifier of the book from the BOOK table. CHECKOUT table records the date of check-out, patron’s ID, the identifier of the book copy…arrow_forward
- Your job as a database designer is to design a database with a schema that captures all the information that galleries need to maintain. Galleries keep information about artists, their names (which are unique), birthplaces, age, and style of art. For each piece of artwork, the artist, the year it was made, its unique title, its type of art (e.g., painting, photograph, sculpture), and its price must be stored. Pieces of artwork also classified into groups of various kinds, for example, portraits, still lives, works by Picasso, or works of the 19th century; a given piece may belong to more than one group. Each group is identified by a name (like those just given) that describes the group and property. Finally, galleries keep information about customers. For each customer, galleries keep that person’s unique ID, name, address, total amount of dollars spent in the gallery, and the artists and groups of art that the customer tends to like. Draw the ER diagram for the database.arrow_forwardNormalization is one of the important processes while designing databases. Normalization is actually a technique for reviewing the database design and it includes a set of mathematical rules. Answer the following questions using specific examples: Does normalization always lead to a good design? Why or why not?My thought is that it only eliminates redundancy and shrinks the database from being too large. What kind of issues, problems are possible in the normalization process?arrow_forwardSubject: Database Topic: EERD Please use UML Modelling Notation. (Don't use Chen’s Notation or Crow’s Feet Notation) -Based on the information given below, draw the conceptual EERD where you should include the enhanced features. You are required to design a database for a car championship. The requirements are as follows: In the championship, each car’s information such as the car model, the top speed and the acceleration will be stored, and it is identifiable through a unique car ID. Each car will be drove by only one driver. Each driver’s info such as the unique driver number, driver name and the experience level of the driver are stored as well. A driver may have many trainers from more experience drivers and these experience drivers would have at least one trainee who follow them. Each of these drivers are usually supported by a team which each team have a name and is identifiable through the team number. Usually, a team would have at least one driver in the race. Every race would…arrow_forward
- Direct connections between the database and external entities are not allowed. This is one of the design ideas for data flow diagrams to take into account. What is implied by this advice?arrow_forwardINDICATE THE CHANGES(USING SHORTHAND REPRESENTATION) YOU WOULD NEED TO MAKE TO THE ORIGINAL KIMTAY PET SUPPLIES DATABASE DESIGN TO SUPPORT THE FOLLOWING REQUIREMENTS. A CUSTOMER IS NOT NESSESARILY REPRESENTED BY A SINGLE SALES REP, BUT THEY CAN BE REPRESENTED BY SEVERAL SALES REPS. WHEN A CUSTOMER PLACES AN ORDER THE SALES REP WHO GETS THE COMMISSION ON THE INVOICE MUST BE IN THE COLLECTION OF SALES REPS WHO REPRESENT THE CUSTOMERarrow_forwardQ4:Â Design a database for an airline. The database must keep track of customers and their reservations, flights and their status, seat assignments on individual flights, and the schedule and routing of future flights. Your design should include a set of relational schemas, and a list of constraints, including primary-key and foreign-key constraints. Please note that an E-R diagram is not required.arrow_forward
arrow_back_ios
arrow_forward_ios
Recommended textbooks for you
- Database Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781305627482Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningPrinciples of Information Systems (MindTap Course...Computer ScienceISBN:9781305971776Author:Ralph Stair, George ReynoldsPublisher:Cengage LearningA Guide to SQLComputer ScienceISBN:9781111527273Author:Philip J. PrattPublisher:Course Technology Ptr
- Database Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781285196145Author:Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos CoronelPublisher:Cengage Learning
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781305627482
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Principles of Information Systems (MindTap Course...
Computer Science
ISBN:9781305971776
Author:Ralph Stair, George Reynolds
Publisher:Cengage Learning
A Guide to SQL
Computer Science
ISBN:9781111527273
Author:Philip J. Pratt
Publisher:Course Technology Ptr
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