Database Management Systems

You are hired to design a database for a fitness center. As the fitness center is expanding with more than one branch, they want to create a database to keep track of its customers, facilities and employees. Each branch has a unique id and address (building number, street, district, and city). A branch may have more than one facility (e.g. swimming pool, spa, etc.). Each facility must belong to only one branch, and the information for a facility is name and fees. In addition, each fitness branch offers different classes (such as Yoga, Pilates, Zumba, etc.). All classes should be led by at most one trainer, who is an employee. 

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper

 

Employees must work at one and only one branch. Each employee has an id, name, address (building number, street, district, and city) and can have multiple phone numbers. An employee can only be an admin, managing the facility or working as a clerk, or a trainer. An employee cannot be a trainer and an admin because the trainer id compensated an hourly wage while an admin staff paid a monthly salary. Trainers can train individual customers at different time sessions. 

 

A customer must register at one branch. Each customer has a membership number, name (stored as first name and last name), email, and only one phone number. A customer can join more than one class or uses any number of facilities. A customer may also decide to be trained by at most one personal trainer.  

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper

 
 

Given the above description: 1. Draw an ERD for the database, identifying the following: a. All the entities, attributes and relationships b. Primary key and (discriminator in weak entity, if any). Don’t forget each entity has to have PK. c. Participation and cardinality constraints. (Explain your choices for two constraints- i.e. identify the words the guided your decision) d. Specialization and completeness constraints (if there is an ISA relationship). 

 

2. Write a schema for two entities and two relationships of your choice. Remember, sometimes a relationship is better not be represented in a separate schema; if this is the case with your chosen relationship explain what you will do.

CPIS 340: Database Management Systems

Assignment 1 – deadline Saturday 10th of October 2020 (at 11:59pm)

You are hired to design a database for a fitness center. As the fitness center is expanding with

more than one branch, they want to create a database to keep track of its customers, facilities and

employees. Each branch has a unique id and address (building number, street, district, and city).

A branch may have more than one facility (e.g. swimming pool, spa, etc.). Each facility must

belong to only one branch, and the information for a facility is name and fees. In addition, each

fitness branch offers different classes (such as Yoga, Pilates, Zumba, etc.). All classes should be

led by at most one trainer, who is an employee.

Employees must work at one and only one branch. Each employee has an id, name, address

(building number, street, district, and city) and can have multiple phone numbers. An employee

can only be an admin, managing the facility or working as a clerk, or a trainer. An employee

cannot be a trainer and an admin because the trainer id compensated an hourly wage while an

admin staff paid a monthly salary. Trainers can train individual customers at different time

sessions.

A customer must register at one branch. Each customer has a membership number, name (stored

as first name and last name), email, and only one phone number. A customer can join more than

one class or uses any number of facilities. A customer may also decide to be trained by at most

one personal trainer.

Given the above description:

1. Draw an ERD for the database, identifying the following:
a. All the entities, attributes and relationships
b. Primary key and (discriminator in weak entity, if any). Don’t forget each

entity has to have PK.

c. Participation and cardinality constraints. (Explain your choices for two
constraints- i.e. identify the words the guided your decision)

d. Specialization and completeness constraints (if there is an ISA relationship).

2. Write a schema for two entities and two relationships of your choice. Remember,
sometimes a relationship is better not be represented in a separate schema; if this is

the case with your chosen relationship explain what you will do.

Please use a tool to draw the ERD. There are many tools out there; some students suggested:
https://erdplus.com/

This assignment worth 10% of your overall grade.

https://erdplus.com/

Calculate your order
Pages (275 words)
Standard price: $0.00
Client Reviews
4.9
Sitejabber
4.6
Trustpilot
4.8
Our Guarantees
100% Confidentiality
Information about customers is confidential and never disclosed to third parties.
Original Writing
We complete all papers from scratch. You can get a plagiarism report.
Timely Delivery
No missed deadlines – 97% of assignments are completed in time.
Money Back
If you're confident that a writer didn't follow your order details, ask for a refund.

Calculate the price of your order

You will get a personal manager and a discount.
We'll send you the first draft for approval by at
Total price:
$0.00
Power up Your Academic Success with the
Team of Professionals. We’ve Got Your Back.
Power up Your Study Success with Experts We’ve Got Your Back.

Order your essay today and save 30% with the discount code ESSAYHELP