Relational database management system for a football club

Assignment Help Business Management
Reference no: EM131971763

The following tables form part of a database held in a relational database management system for a football club, which has many teams in different leagues. The aim of the database is to record its teams' progress in a competition. The database consists of the following tables: 

PLAYER (PlayerNo, Name, Birth_Date, Age,Street_Address, Town, Phone, TeamNo). 

TEAM (TeamNo,Division)

 MATCH (MatchNoTeamNoPlayerNo

RESULT(MatchNo, Win_TeamNo). 

PAYMENT (PaymentNo, PlayerNo, Payment_Date, Amount). 

CONTRACT (PlayerNo, Begin_Date, End_Date, Position).

Assumption: A player has only one contract with the team and plays for only one team. Player's contract is not renewed once ended.

Using SQL and TransSQL, formulate the following:  

(a) The maximum and minimum payment amount of players.

(b) Get the player number and name of players who are less than 30 years old and who live in Manchester. The names should be displayed in alphabetical order.

(c) The number of wins of each team for each division  

(d) A procedure "getTotalAmountPaid" which calculates the total amount paid to a player. The procedure takes as input the payment number and displays the player number, player name and total amount paid. For example, assume that the total amount paid for player No10 is £1000000, the procedure should display the following:  

"Total Amount paid for Player 10 is £1000000"  

(e) A table-valued function "getPlayer" that returns the player number,player name, team number, division, date contract began,date it ended and position of the player. The function takes as input the player number.

Reference no: EM131971763

Questions Cloud

What monthly operating income for a sales volume of keyboard : Rockwell Corporation manufacture and sells computer keyboards. The flexible budget reflect what monthly operating income for a sales volume of 52,000 keyboards?
Describe the topography on either side of the plate boundary : Describe the topography on either side of the plate boundary (height and depth) and explain how the topography is linked to the geologic processes
Compute the eac for both machines : You are evaluating two different silicon wafer milling machines. The Techron I costs $219,000, has a three-year life, and has pretax operating costs of $56,000.
What questions should be asked regarding the computer system : What can be done to restore these deleted files and what questions should be asked regarding the computer system?
Relational database management system for a football club : The following tables form part of a database held in a relational database management system for a football club, which has many teams in different leagues.
Prepare the journal entry to record the sale of smartphone : Prepare the journal entry to record the sale of smartphone in 2017 by R&R Cellular. Note that the firm uses perpetual inventory method.
What is evanec cost of retained earnings : What is Evanec's cost of retained earnings, rs? Round your answer to two decimal places. Do not round your intermediate calculations.
Use sql statement to construct the queries : For each crew, if the crew is allergic to no flowers that grow on his/her hometown, then list the crew's name.
Prepare the adjusting entries on january : Prepare the adjusting entries on January 31. Account titles are Accumulated Depreciation-Equipment, Depreciation Expense, Service Revenue, Accounts Receivable.

Reviews

Write a Review

Business Management Questions & Answers

  Personal success only in terms of financial gain

Employees today are less likely to define their personal success only in terms of financial gain. Many more workers claim that achieving a good work-life blance is a higher priority than "moving up the corporate ladder."

  Manage global team communication using technology

Write a 1,050- to 1,400-word paper that describes how you would manage global team communication using technology.

  Prepare presentation that summarizes key aspects from report

Prepare an 7-9-slide presentation in PowerPoint that summarizes key aspects from the report. Project Performance and Status Report.

  Statistical breakdown of the student population

Identify a college or university that is known for having a diverse student population. Explain: 1) the statistical breakdown of the student population

  What is the purpose of the statute of frauds

Question One:  What is the purpose of the statute of frauds? Does it accomplish its underlying purpose? Question Two: List three types of contracts that must be in writing. Please state if there is another type of contract that you believe should be ..

  How the rephrasing has enhanced communication

Use the principles discussed in the article You-Attitude: A Linguistic Perspective, to rephrase the passages in a manner that increases communication efficacy. List the principles you used in each passage and explain how and why they have enhanced ..

  Differences between direct and indirect costs

Other than the basic differences between direct and indirect costs, why does it matter? In other words, at the end of the day, why does a PM care whether a cost is direct or indirect?

  The class-facilities management

Paper name: Management for facility "Hospital". It's necessary describe the management of facility "Hospital", its functions, areas, etc.

  Illustrate what are the advantages and disadvantages

The Germans organize treatment clinics. The U.S. division gathers the financing and markets the treatment methods. Illustrate what type of strategy is this and illustrate what are the advantages and disadvantages of this type of strategy.

  Describe your reaction to your experience of these biases

State your position on the selected topic. Determine the biases you experienced as you examined the reasons for and against your position.

  Prepare a brief training cost analysis for training program

Prepare a brief training cost analysis for a training program of your choice, including estimated time requirements for each task and relating those time requirements to the overall cost you have identified for the project

  Market niche strategies and focused strategies

Market niche strategies and focused strategies

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