Determine candidate and primary key, Database Management System

Assignment Help:
  • A video rental company has several branches.
  • The data held on each branch is the branch address made up of street, city, state, and zip code, and the telephone number.
  • Each branch is given a branch number, which is unique. 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.
  • Each branch has a stock of videos. The data held on a video is the catalog number, video number, title, category, daily rental, cost, status, and the names of the main actors, and the director. The catalog number uniquely identifies each video. However, in most cases, there are several copies of each video at a branch, and the individual copies are identified using the video number.
  • A video is given a category such as Action, Adult, Children, Drama, Horror, or Sci-Fi. The status indicates whether a specific copy of a video is available for rent.
  • Before hiring a video, a customer must first register as a member. 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. Once registered, a member is free to rent videos, up to maximum of ten at any one time.
  • The data held on each video rented is the rental number, the name and number of the member, the video number, title, and daily rental, and the dates the video is rented out and date returned. The rental number is unique.

(a)   Identify the main entity types of the company.

(b) Identify the main relationship types between the entity types and determine the multiplicity constraints for each relationship

(c)   Identify attributes and associate them with entity or relationship types.

(d)  Determine candidate and primary key attributes for each (strong) entity type.

(e)  Using your answers (a) to (d) create a single ER diagram. State any assumptions necessary to support your design.


Related Discussions:- Determine candidate and primary key

Draw entity relationship diagram, Draw entity relationship diagram for the ...

Draw entity relationship diagram for the following scenario. A university has many departments whereas each department belongs to that particular uni. That uni has also many bui

What are the properties of transaction, What are the properties of transact...

What are the properties of transaction? There are three properties of transactions :- A)     Atomicity B)      Consistency C)       Isolation

Relation instance or relation state, A relation instance indicates as r is ...

A relation instance indicates as r is a collection of tuples for a given relational schema at a exact point of time. A relation state r of the relation schema R (A 1 ,A 2 ,.....

Example of transaction? , Example :; transfers transfer_amount from x's acc...

Example :; transfers transfer_amount from x's account to y's account ; Supposes x&y both accounts exist TRANSACTION (x, y, transfer_amount) Start transaction IF X AND Y

What is use of generating such tables, What is use of generating such table...

What is use of generating such tables? How can you create temporary tables? When you require a table only for a short time after that you want it to disappear automatically you

Create an index for the table client, Create an index for the table Client,...

Create an index for the table Client, field CLIENT_NO of Q ? Command:   CREATE INDEX client_client_no ON client(client_no);

Example-revoke all on emp from mca12, Example:  //REVOKE ALL ON EMP FROM MC...

Example:  //REVOKE ALL ON EMP FROM MCA12;                              (All permissions will be cancelled) You can also cancel only some of the permissions. Drop: A user-

Dealing with constraints violation, If the deletion violates referential in...

If the deletion violates referential integrity constraint, then three alternatives are available: Default option: - refuse the deletion. It is the job of the DBMS to describ

Express the ways provided by mysql for pattern matching, Express the ways p...

Express the ways provided by MySQL for Pattern Matching? MySQL provides two kinds of pattern matching. 1) One is based on SQL patterns 2) Regular expressions.

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd