Creating a database in sql for recreation

Assignment Help Basic Computer Science
Reference no: EM13829745

Problem:

Task

Members of a small town in Tennessee are tired of having nothing to do on the weekend.  They want to start a local club where people can pay a monthly fee to be a member and participate in various activities.  Activities will be offered for 3 basic age groups: 12-18 years old, 19-55 years old, 56 and older. The club will have a short order grill for sandwiches and salads, a bar that operates late afternoons and evenings, basketball court, tennis courts, shuffle board, climbing wall, large TV/movie room with a flat screen TV, and a computer game room with a LAN setup and several smaller TV's and game consoles and a weight room. A few years down the road, they plan to add a swimming pool and an outdoor track.

When a person joins, he/she gets a badge with a unique member number that serves as an ID which can be swiped to get into the club, to participate in activities and to use as a charge card while at the club (to pay for meals or other incidentals).

Assumption:  you can assume that each time a card is swiped, the following data will be available from the card swipe system to store into one or more tables in a database:

- member name
- member ID
- date
- time
- activity (example: enter club, purchase sandwich, computer game room, climbing wall, purchase beer)

You do not have to be concerned with how the data gets into the system.  Just concentrate on the design of the system and what data needs to be stored.

Certain activities will be restricted by age:

12-18 year olds are not allowed in the bar or the weight room

56 and older are not allowed in the computer game room

The club needs you to design a database to help them manage the business.  Some of the things they need to keep track of are memberships, club dues, activities that members participate in, time of day/night that members visit, operating costs for the club (bills paid out, dues coming in, taxes etc), general information about the club (ownership, hours, address, etc),

Project Requirements

Complete the following tasks:

1) Using the description above, design a database for the club.

2) Generate an E-R diagram for the database. - use at least 4 entities.  each entity must have at least 3 attributes

3) Diagram the relationships between the entities, including the name, optionality and degree ---- include all the E-R diagrams and relationships in one document ----

4) Ensure that your database is in 2nd normal form and that all the tables follow the rules of referential integrity and entity integrity.

Additional Information:

This question is from Computer Science as well as it is about creating a database in SQL for recreation based organization in small town. The database should include tables and queries which record and retrieve the information on how customers spend their time in the club and how much they're spending on. The ER diagram and basic coding for SQL has been given in the solution.

Total Word Limit: 767 Words

Reference no: EM13829745

Questions Cloud

Calculating cash flows : Calculating Cash Flows. Weiland Co. shows the following information on its 2014 income statement: sales = $167,000; costs = $88,600; other expenses = $4,900; depreciation expense = $11,600;  Calculating Cash Flows. What is the 2014 operating cash flo..
Constant gravitational force-neglecting air resistance : Consider the motion of a projectile in 2D under a constant gravitational force, neglecting air resistance. Recall from Euler's method for solving
Explores about fraud and different types of fraud : The problem is from Sociology and the problem is explores about fraud and different types of fraud. The question here deals with the various types or manifestations of fraud and its effects on the society.
Summarize the entire balance sheet : Let us summarize the entire balance sheet so that the credits and debits are easily compared
Creating a database in sql for recreation : Members of a small town in Tennessee are tired of having nothing to do on the weekend.  They want to start a local club where people can pay a monthly fee to be a member and participate in various activities.
Modified accrual method and the full accrual method : Please explain the difference between the modified accrual method and the full accrual method? Under modified accrual accounting, the term expenditure is used instead of expense. Expenditures are generally recognized when the liability is incurred." ..
Entire society trouble the tranquil slumber of philosopher : entire society trouble the tranquil slumber of the philosopher
Swot analysis for a company that produces a physical product : A SWOT analysis is to be written on an organisation that you will be choosing for your Marketing Plan. The organisation can be either a Singapore or an International company; they can be a service provider or a company that produces a physical pro..
Discuss how the idea and symbolism of religion relate : Discuss how the idea and symbolism of religion relate to the spiritual journey of the narrator. Be sure to refer to specific quotations from the text to support your main points.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Describe how to use d

Suppose you have two nonempty stacks S and T and a deque D. Describe how to use D so that S stores all the elements of T below all of its original elements, with both sets of elements still in their original order.

  Write a function to draw each figure

Need working c program code for a program that has the ability to draw patterns of characters on the output terminal that will show a solid square, a hollow box or a solid isosceles triangle provided the character to draw with the # of rows.

  What is your all-time favorite linux-related website

What is your all-time favorite Linux-related website? Why is it your favorite (reference, utility, comic relief, etc.)?

  A large geographic region

A company that has 5,000+ users across a large geographic region

  Routine and standardized and chaotic is a major challenge

Keeping professionals excited about work that is routine and standardized and chaotic is a major challenge for Vincent Weafer. How could he use technical, human, and conceptual skills to maintain an environment that encourages innovation and pr..

  Display the new list as well as the two old list

Display the new list as well as the two old list Thank you in advance.

  Script for the reynolds number of a flow

Write a script that will prompt the user for the Reynolds number of a flow and will print the region the flow is in.

  Business problems arise in a multitude

Business problems arise in a multitude of ways inside an organization; sometimes, they stem from the need or desire to do something completely new, sometimes they stem from the need or desire to improve an existing operation.

  Write down the quintuple in the dfa

Write down the quintuple in the DFA.

  Electronic health care record

As a chief security officer (CSO) for a large hospital, you are charged with securing medical health care records. More recently, senior hospital administrators are seeking to provide a complete online portal for all its doctors and patients

  Create a new file called testwork

Create a new file called TestWork.scr. Change the permissions on this new file to add the execute bit for user, group, and owner.

  Write a console program

Write a console program that repeatedly prompts the user to enter data until they type done (any case, Upper, Lower, or Mixed). As they enter the data, assign it to a two-dimension array where the first dimension contains exactly what they type an..

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