Read the following case study, which describes the data requirements for a DVD rental company.
• The DVD Rental Company has several branches throughout USA.
• The data held on each branch is the branch address made up of street, city, state, and postal
code, and the telephone number.
• Each branch is given a branch number, which is unique throughout the company.
• Each branch is allocated staff, which includes a Manager.
• The Manager is responsible for the day-to-day running of a given branch.
• The data held on a member of staff is his or her name, position, and salary.
• Each member of staff is given a staff number, which is unique throughout the company.
• Each branch has a stock of DVDs.
• The data held on a DVD is the catalog number, DVD number, title, category, daily rental, cost,
status, and the names of the main actors, and the director.
• The catalog number uniquely identifies each DVD. However, in most cases, there are several
copies of each DVD at a branch, and the individual copies are identified using the DVD
number.
• A DVD is given a category such as Action, Adult, Children, Drama, Horror, or Sci-Fi.
• The status indicates whether a specific copy of a DVD is available for rent.
• Before renting a DVD from the company, a customer must first register as a member of a local
branch.
• The data held on a member is the first and last name, address, and the date that the member
registered at a branch.
• Each member is given a member number, which is unique throughout all branches of the
company.
• Once registered, a member is free to rent DVDs, up to maximum of ten at any one time.
• The data held on each DVD rented is the rental number, the full name and number of the
member, the DVD number, title, and daily rental, and the dates the DVD is rented out and date
returned.
• The rental number is unique throughout the company.
(a) A table listing the main entity types of the DVD rental company.
(b) A table listing the main relationship types between the entity types
described in (a).
(c) A table listing the multiplicity constraints for each relationship described
in (b).\
Only this part:
(d) A table listing attributes.
(e) A table listing primary keys for each (strong) entity type.
You may combine the above tables into fewer tables if you wish.
(f) Use appropriate diagramming software to represent the data requirements
of the DVD rental company as a single ER diagram, based on your answers (a) to
(e). Represent the multiplicities determined in (c). Represent each attribute
identified in (d) and (e).
a) The main entity types are the
- Rental Company
- Brach
- DVD Stock
- Rented
- Customer
- Staff Member
They are the ones in the rectangular boxes and are shown in the ER DIAGRAM provided in the 'f' part of the same question.
b) The various relationships between the different entities are the ones in the diamond shape like structures shown in the 'f' part of the same question.
c) The multiplicity constraints are :
- A single rental company has many branches therefore one to many relation
- Many branches have many dvd stock, therefore many to many relation
- Many dvds are rented to many customers, therefore many to many relation.
- Many customers register at many different branches, therefore many to many relation
- Many branches have many staff members, therefore many to many relation is shown.
They all are shown in the ER DIAGRAM provided in the 'f' part of the same question
d)The various attributes for the different entities are shown in the elliptical shape like structures in the ER DIAGRAM provided in the 'f; part of the same question. They are :
Entity | Attributes |
Rental Company | Name,Owner Info |
Branch | Branch Number, Address, Name, Phone No. |
DVD Stock | Catalog Number, Cost, DVD No., Actors,Title,Rental Amount, Status |
Customer | Member Number, Name, Address, Phone No. |
Staff Member | Staff Number, Name, Position, Salary |
e) The primary key attributes are the ones which are underlined in the ER DIAGRAM shown in the part 'f' of the same question. They are :
- Branch Number
- Catalog Number
- Rental Number
- Member Number
- Staff Number
Step by stepSolved in 2 steps with 1 images
- viewpoint on the significance of properly managing one's data.arrow_forwardAn actual SQL database should be shown and discussed.arrow_forwardA third party cannot access the database directly in any way. It's something to think about while drawing data flow diagrams. What does this suggestion include, if anything?arrow_forward
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education