Development of a database to keep track of its operations

Assignment Help Accounting Basics
Reference no: EM13926657

ISM 218 - Spring 2015 Project Assignment - Part 2 Oak Creek Stadium
Project Description:

After receiving 21 different setups, the management of Oak Creek Stadium has decided on the attached ER diagram and instance tables for the development of a database to keep track of its operations. Your team has been contracted to implement the database in the MySQL relational database management system (RDBMS). The following restrictions on the data were discussed in the initial meeting:

- Customer Height will be measured in inches
- Sport Type is either basketball, hockey, football, or soccer
- Food Type is either drink, snack, or main dish
- Restaurant Type is either concession stand or sit down restaurant
- The Departments are Ticketing, Food Service, Gift Shop, Maintenance, and Security
- Multiple food orders occurred on March 17th, 2020.
- All events and orders occurred in 2020.
**NOTE: Use the standard solution at the end of this description to complete the rest of the assignment.**

Phase II report should include:
1. Cover Page (3 points)
The cover page should include the course number, the semester, the team name, and the full names of all team members.

2. Table of Contents (including page numbers) (2 points)

3. Database Implementation in MySQL (30 points)
Implement the database in MySQL. Specifically, write a SQL script to do the following:
a. Create the Tables. Each Table must have a Primary Key constraint, Foreign Key constraints where applicable, and other constraints as written in the table instance charts.
b. Insert rows into each Table. Make up your own data. Make sure that each Table has at least 10 rows and Associative Tables have 30 rows.
c. Develop a SQL script to delete the entire database (i.e., removing all Tables)
d. Develop a SQL script to delete the data in the tables but retain the Table structure (i.e., removing all rows of data). **NOTE: There is more than one way to complete this; only one is required**

4. Querying in MySQL (40 points)
A new management team has taken over Oak Creek Stadium due to its poor financial state. The CEO believes that the slowing economy may have caused attendance at sporting events to decrease. The CEO also believes that workforce reduction efforts need to be put in place in order to improve Oak Creek Stadium's financial standing. As a part of the reorganization efforts, the CEO has requested that your team provide reports that will be used in the organizational review.
Develop the following SQL queries:
a. The CEO is considering increasing ticket sales to improve the financial standing of Oak Creek Stadium. The CEO requested a report that lists the average event ticket price paid per customer. The list should only include the customer ID and the average ticket price.
b. As a part of the workforce reduction effort, the Oak Creek Stadium CEO is looking to layoff some employees in order to reduce overhead. Your team received a request to provide a list of the full names of all employees, their department, and their hire dates, listed in chronological order (by hire date).
c. The CEO also wants a report of the total number of employees in each department, listed in alphabetical order by department name.
d. In order to support the claim that attendance at sporting events is low, the CEO requested a list of all sporting events in chronological order. The CEO would like to see the sport type, home team ID, and visitor team ID in the report, as well as the total number of customers that attended each event as "Number of Customers in Attendance".
e. Another approach to reducing overhead is to look at the top earners at Oak Creek Stadium. Your team received a request to provide a list of all the managers (displaying their full name as one field called "Manager Name"), the name of their department, and their salary (formatted as a $xx.xx). This list should be in decreasing order based on salary.
f. The CEO wonders if there should be more holiday-themed promotions to encourage food purchases at events. Your team received a request to provide a list of all foods that have been ordered on March 17th, 2020, specifically the food name, the total quantity sold, and the total sales (qty * price). The price should be formatted as a $xx.xx.
g. The CEO is also considering offering promotions to encourage fans to attend more than one sporting event. The report requested should include the customer ID, full customer name of customers who have only attended one sporting event. The report should also include the sport type of the event that was attended.
h. It is discovered that season pass sales have also been decreasing. The CEO wants to send a promotion to all current and past season pass holders. Your team received a request to provide a list of the season pass holder ID, the full name of the season pass holder, the expiration date of the season pass, and the number of events that they have attended.
i. The CEO wants to thank all of the teams that have played at the stadium by sending a letter to their coaches. The report requested should include all the details of the teams that have played at the stadium.
j. In order to boost employee morale during the workforce reduction, the CEO wants to give an award to the top employees who had the highest food sales in 2020. The report requested should list the employee ID, the employee's full name, and their grand total of food item sales (qty * price). List the employees from the greatest sales to the least. Exclude total sales that are less than $200.

5. Views in MySQL (15 points)
To protect the data in the database, your team should develop a View and write the SQL script for it. This view is specifically for employees so that they can see their employment data. Include their employee ID, their full name, the date and time of the task they completed, and the task name.

6. Peer Evaluation (10 points)
Completed peer evaluation forms for each team member (template attached). Database Implementation Model
1
N
1 N N 1
Food
PK FoodItemID
Food_Name
Food_Type
Food_Price
1
N
Employee
PK EmployeeID
E_FName
E_LName
E_Salary
E_BirthDate
E_HireDate
DepartmentID*
N 1 N 1
TaskAssignment
PK TaskAssgn_ID
TaskID*
EmployeeID*
TA_DateTime
1
N
N 1
Attendance
PK TicketNumber
CustomerID*
EventID*
Ticket_Price
Team
PK TeamID
Team_Name
Coach_FName
Coach_LName
City
State
FoodOrders
PK OrderID
FoodItemID*
Restaurant_Type
EmployeeID*
F_DateTime
CustomerID*
Quantity
1
N
SeasonPass
PK SeasonPass_ID
ExpirationDate
1
1
Customer
PK CustomerID
C_FName
C_LName
C_Height
SeasonPass_ID*
Task
PK TaskID
Task_Name
Department
PK DepartmentID
Dept_Name
ManagerID*
Event
PK EventID
Event_DateTime
Sport_Type
SeatsAvailable
HomeTeamID*
VistorTeamID*
Database Table Instance Charts
Page | 5
Table Name: Attendance
Column Name: TicketNumber CustomerID EventID Ticket_Price
Key Type: PK FK FK -
Null/Unique: NN/U NN NN NN
FK Table: - Customer Event -
FK Column: - CustomerID EventID -
Datatype: INTEGER INTEGER INTEGER FLOAT
Max Length: 7 7 7 5,2
Table Name: Customer
Column Name: CustomerID C_FName C_Lname C_Height SeasonPass_ID
Key Type: PK - - - FK
Null/Unique: NN/U NN NN NN NN
FK Table: - - - - SeasonPass
FK Column: - - - - SeasonPassID
Datatype: INTEGER VARCHAR VARCHAR INTEGER INTEGER
Max Length: 7 20 30 2 7
Table Name: Department
Column Name: DepartmentID Dept_Name ManagerID
Key Type: PK - FK
Null/Unique: NN/U NN NN
FK Table: - - Employee
FK Column: - - EmployeeID
Datatype: INTEGER VARCHAR INTEGER
Max Length: 7 30 7
Database Table Instance Charts
Page | 6
Table Name: Employee
Column Name: EmployeeID E_FName E_LName E_HireDate E_BirthDate E_Salary DepartmentID
Key Type: PK - - - - - FK
Null/Unique: NN/U NN NN NN NN NN NN
FK Table: - - - - - - Department
FK Column: - - - - - - DepartmentID
Datatype: INTEGER VARCHAR VARCHAR DATE DATE FLOAT INTEGER
Max Length: 7 20 30 - - 8,2 7
Table Name: Event
Column
Name:
EventID Event_DateTime SportType SeatsAvailable HomeTeamID VisitorTeamID
Key Type: PK - - - FK FK
Null/Unique: NN/U NN NN NN NN NN
FK Table: - - - - Team Team
FK Column: - - - - TeamID TeamID
Datatype: INTEGER DATETIME VARCHAR INTEGER INTEGER INTEGER
Max
Length:
7 - 20 4 7 7
Table Name: Food
Column Name: FoodItemID Food_Name Food_Type Food_Price
Key Type: PK - - -
Null/Unique: NN/U NN NN NN
FK Table: - - - -
FK Column: - - - -
Datatype: INTEGER VARCHAR VARCHAR FLOAT
Max Length: 7 15 15 5,2
Database Table Instance Charts
Page | 7
Table Name: FoodOrders
Column Name: OrderID FoodItemID Restaurant_Type EmployeeID F_DateTime CustomerID Quantity
Key Type: PK FK - FK - FK -
Null/Unique: NN/U NN NN NN NN NN NN
FK Table: - FoodItem - Employee - Customer -
FK Column: - FoodItemID - EmployeeID - CustomerID -
Datatype: INTEGER INTEGER VARCHAR INTEGER DATETIME INTEGER INTEGER
Max Length: 7 7 15 7 - 7 2
Table Name: SeasonPass
Column Name: SeasonPassID ExpirationDate
Key Type: PK -
Null/Unique: NN/U NN
FK Table: - -
FK Column: - -
Datatype: INTEGER DATE
Max Length: 7 -
Table Name: Task
Column
Name:
TaskID Task_Name
Key Type: PK -
Null/Unique: NN/U NN
FK Table: - -
FK Column: - -
Datatype: INTEGER VARCHAR
Max Length: 7 30
Database Table Instance Charts
Page | 8
Table Name: TaskAssignment
Column Name: TaskAssgn_ID EmployeeID TaskID TA_DateTime
Key Type: PK FK FK -
Null/Unique: NN/U NN NN NN
FK Table: - Employee Task -
FK Column: - EmployeeID TaskID -
Datatype: INTEGER INTEGER INTEGER DATETIME
Max Length: 7 7 7 -
Table Name: Team
Column Name: TeamID Team_Name Coach_FName Coach_LName City State
Key Type: PK - - - - -
Null/Unique: NN/U NN NN NN NN NN
FK Table: - - - - - -
FK Column: - - - - - -
Datatype: INTEGER VARCHAR VARCHAR VARCHAR VARCHAR VARCHAR
Max Length: 7 30 20 30 20 20

Instruction: Please rate each team member, INCLUDING YOURSELF, on two scales.
1. How much effort everyone put in: Please put a percentage for each team member. The total percentage must add up to 100% for the team.
2. How cooperative each team member was: Please rate on 1-5 scale. 1 is not cooperative, 3 is average, and 5 is very cooperative. Things such as being helpful in coming up with ideas, timely email exchange, actively research the topic and share findings are viewed positive.
3. How much everyone contributed to the project: Please put a percentage for each team member. The total percentage must add up to 100% for the team. Note that the percentage of effort (input) may not equal the percentage of contribution (output).

Reference no: EM13926657

Questions Cloud

Describe the envelope seal : Describe the "envelope", seal, and the early Mesopotamian writing process. Identify the issue being kept "on file," and comment on what this reveals about Mesopotamian society and the primary ways it compares to modern society in these respects.
Calculate the formula value of the right : Calculate the formula value of the right for both the rights-on and the ex-rights cases. How much is the market price of the company's stock expected to drop on the ex-rights date, all other things being equal? Why?
Testing hypotheses about variances : Question 1. A production process is known to produce a particular item in such a way that 5 percent of these are defective. If two items are randomly selected as they come off the production line, what is the probability that both are defective (a..
Identify an organized criminal enterprise : Identify an organized criminal enterprise. Research the organization's activities for the last 10-20 years and identify common "legitimate" businesses they engage in or are associated with
Development of a database to keep track of its operations : After receiving 21 different setups, the management of Oak Creek Stadium has decided on the attached ER diagram and instance tables for the development of a database to keep track of its operations.
Calculate what the actual intervals are for your curve : If you have the mean and standard deviation, calculate what the actual intervals are for your curve. Please include any citations regarding where you obtained your data for the curve.
Graph-state of affairs and initial profit maximizing point : Draw a graph (the uc I MPK graph) depicting the state of affairs and label this initial profit maximizing point as point A. A completely labeled and correct graph is worth 10 points.
What lines from song of myself describe : What lines from "Song of Myself" describe, in your view, something important or unique about American identity? Copy and paste the lines here and then discuss your reason for selecting them in a paragraph
Sales of these sundaes have increased : The Olde Yogurt Factory has reduced the price of its popular Mmmm Sundaefrom $2.25 to $1.75. As a result, the firm's daily sales of these sundaes have increased from 1,500/day to 1,800/day. Compute the arc price elasticity of demand over this pric..

Reviews

Write a Review

Accounting Basics Questions & Answers

  Stocks can be sold in the primary market or in the

stocks can be sold in the primary market or in the secondary market. what is the difference between these two markets?

  Cindy neuers regular hourly wage rate is 16 and she

cindy neuers regular hourly wage rate is 16 and she receives an hourly rate of 23 for work in excess of 40 hours.

  Computing the percentage of completion

An error was made by ABC Company in computing the percentage of completion of the current year's ending Work-in-Process Inventory. The error resulted in the assignment of a lower percentage of completion to each component of the inventory than act..

  What was the depreciation expense for the asset for 2013

Kingston Company purchased a piece of equipment on January 1, 2012. The equipment cost $120,000 and had an estimated life of 8 years and a salvage value of $15,000. What was the depreciation expense for the asset for 2013.

  Trucks depreciation using the double declining balance

Steiner recliner purchased a delivery truck at the beginning of 2008. The truck cost $17,500 and is expected to last 5 years. Assume the truck has a salvage value of $1,000. Calculate the trucks depreciation using the double declining balance.

  The following financial data of tim corporation is

the following financial data of tim corporation is available for the year 2013. compute the sales revenue to be

  Write a memo outlining tax effects of the various methods

The partners of JPG Partnership want to change the form of entity from a partnership to a corporation. The corporation can be formed in several ways: The partnership can distribute the assets to the partners who then contribute the assets to the c..

  Direct labor standards at cepeda manufacturing corporation

direct labor standards at cepeda manufacturing corporation allow 5 direct labor-hours for every unit produced. the

  Prepare journal entry to record the issuance of the bond

Pueblo Company issued $300,000 of 5-year, 8% bonds at 98 on January 1, 2014. The bonds pay interest twice a year. Prepare the journal entry to record the issuance of the bonds. Prepare the journal entry to record the issuance of the bonds, assuming t..

  Total sales at a store are 1000000 and 80 of those sales

total sales at a store are 1000000 and 80 of those sales are credit. the beginning balance and ending accounts

  Computerize the main functions of system

Include a discussion about problem areas that could arise, assuming that you will eventually have many more clients and several more employees.

  Use what you have learned from our required readings

use what you have learned from our required readings especially chapter 17 of executive roadmap to fraud prevention

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