Question
Following are the data requirements for a video rental company. The company has several branches throughout Ireland. The data held on each branch is the
Following are the data requirements for a video rental company. The company has several branches throughout Ireland. The data held on each branch is the branch address and the telephone number. Each branch has a unique branch number. 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/her name, position, and salary. Each member of staff is given a unique staff number. Each branch has a stock of videos. The data held on a video is the catalogue number (unique), title, category, daily rental, cost, status, and the names of the main actors and the director. A video is given a category such as Action, Adult, Children, Drama, Horror, or Science Fiction. The status indicates whether a specific copy of a video is available for rent. Before hiring a video 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, telephone, 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 videos, up to a maximum of ten at any one time. The data held on each video rented is the rental number, the number of the member, the catalogue number, and the dates the video is rented out and returned. The rental number is unique throughout the company.
(a) Draw an ERD for the described video rental company above.
(b) Map your ERD into a relational schema.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started