Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Enitity relationship diagram with min and max notation Database Specification You have been hired by a nationwide fitness company named Fitness4All. Fitness4All has gyms in

image text in transcribed

Enitity relationship diagram with min and max notation

Database Specification You have been hired by a nationwide fitness company named Fitness4All. Fitness4All has gyms in different locations and offers different types of memberships to customers. Customers can also purchase different fitness lessons and personal training sessions. The company wants to utilise a DBMS to track the sales of classes and memberships. In addition, Firtness4All would like to start a customer loyalty program called the SuperFitRewards. Members who sign-up to SuperFitRewards can get offers on free classes. This will also allow Fitness4All to store data on customer purchases for his Data Science team to analyse. Here are the specifications for the database requirements: Fitness4All has gyms in different locations across the country. All of these gyms have a gym suite and they may have a swimming pool. Each gym has a unique identifier and the date in which the gym opened. Customers can become members of any of these gyms. In particular, there are three types of memberships 'GymOnly', 'SwimOnly' and 'Gym&Swim'. Note 'SwimOnly' and 'Gym&Swim' memberships are only available at locations where there is a swimming pool. For each membership, the company wants to store the unique membership number, start date, monthly fee, gym and customer information. For each customer, Fitness4All stores its full name, address, phone, and date of birth. Members make online purchases consisting of group and individual fitness classes. For each type of class, the company stores its name, price and type (group or individual). Each type of class can take place at different dates, times and gyms. More than one occurrence of a same class type can take place simultaneously at a same gym. Each class occurrence has a unique identifier and a particular capability. Purchases are of particular places in class occurrences. For each purchase, the company would like to keep the purchase identifier, date and time, the total price, the classes purchased and the member information. Note classes can also be purchased by non-members at the gym receptions. These purchases are registered in the system as purchases without member information. Members may sign up to the SuperFitRewards with their email address. They will provide their membership number and email as part of the sign-up. Every member may have only one SuperFitRewards account. Fitness4All would like to keep the offer scheme of the SuperFitRewards simple at first. Every SuperFitRewards member gets 1 free group class for every 10 group classes that they buy and 1 free individual class for every 5 individual classes that they buy. The database should keep track of the necessary information for the SuperFitRewards

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems A Practical Approach To Design Implementation And Management

Authors: THOMAS CONNOLLY

6th Edition

9353438918, 978-9353438913

More Books

Students also viewed these Databases questions

Question

How do Dimensional Database Models differ from Relational Models?

Answered: 1 week ago

Question

What type of processing do Relational Databases support?

Answered: 1 week ago

Question

Describe several aggregation operators.

Answered: 1 week ago