As a basketball lover and an EECS484 enthusiast, you want to design a database to model...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
As a basketball lover and an EECS484 enthusiast, you want to design a database to model national basketball teams. This includes the teams themselves, the games they play, the players and the referees. In the design, you want to capture the following: For each basketball team, you want to store their unique team ID, name, main stadium, their home state, and the number of championships they've won. Each player on each team will have a unique ID, name, age, and jersey number. O Each team has at least one player and each player can belong to only one team. It is possible that a player does not belong to any team. Each manager on each team will have a name and age. Each manager manages only one team and each manager's name identifies them uniquely from among the team's administrators. If a team is deleted, you need not keep track of its manager any longer. You want to store data on all basketball games: O Each game must have exactly one away team and one home team O Each game has a game ID, date, and a final result. game ID is unique to each different game. O O The players that participated in a game (each game must have more than one player) must be stored, as well as: The number of points the player scored, and their total time playing in that game Players can substitute for other players during each game, which should be recorded as well: In one game, one player may substitute in or out. In one game, the same substitution can occur only once. Any number of substitutions can be made per game. A player cannot substitute for themselves. You also want to capture information about the referees for each game to analyze their performance and potential biases, so you'd also like to capture the following: O Each game has multiple referees. Each referee should have an ID, name, age, and years of experience. The IDs for different referees are unique. O There is exactly one main referee and one or more assistant referees per game. Each referee works as a main referee in at least one game, and as an assistant referee in at least one game. O O A referee in one game works as either main referee or assistant referee but not both. 1) Design an ER diagram that best reflects the constraints described above. You can start with the ER diagram below. Always follow the constraints described in the questions, even if you don't think they make sense in the real world. Try to reflect as many constraints as possible. Some constraints may not be possible to express in an ER diagram. Do not make any arbitrary assumptions or modify the constraints given in the problem statement. Make sure that all your entities, attributes and constraints are drawn (again, state assumptions clearly if they are not stated in the question). Please do not modify any given entities and attributes. (32 points) HINT: To complete this question, you may want to add more entities, relations and attributes. You may want to add constraints in the given diagram as well. Manages Team Belongs Player Manager Participates in Referee Is Assistant Ref Game Is Main Ref 2) It is possible that some constraints mentioned above cannot be enforced by the ER diagram features we learned in lecture. State these constraints. (4 points) As a basketball lover and an EECS484 enthusiast, you want to design a database to model national basketball teams. This includes the teams themselves, the games they play, the players and the referees. In the design, you want to capture the following: For each basketball team, you want to store their unique team ID, name, main stadium, their home state, and the number of championships they've won. Each player on each team will have a unique ID, name, age, and jersey number. O Each team has at least one player and each player can belong to only one team. It is possible that a player does not belong to any team. Each manager on each team will have a name and age. Each manager manages only one team and each manager's name identifies them uniquely from among the team's administrators. If a team is deleted, you need not keep track of its manager any longer. You want to store data on all basketball games: O Each game must have exactly one away team and one home team O Each game has a game ID, date, and a final result. game ID is unique to each different game. O O The players that participated in a game (each game must have more than one player) must be stored, as well as: The number of points the player scored, and their total time playing in that game Players can substitute for other players during each game, which should be recorded as well: In one game, one player may substitute in or out. In one game, the same substitution can occur only once. Any number of substitutions can be made per game. A player cannot substitute for themselves. You also want to capture information about the referees for each game to analyze their performance and potential biases, so you'd also like to capture the following: O Each game has multiple referees. Each referee should have an ID, name, age, and years of experience. The IDs for different referees are unique. O There is exactly one main referee and one or more assistant referees per game. Each referee works as a main referee in at least one game, and as an assistant referee in at least one game. O O A referee in one game works as either main referee or assistant referee but not both. 1) Design an ER diagram that best reflects the constraints described above. You can start with the ER diagram below. Always follow the constraints described in the questions, even if you don't think they make sense in the real world. Try to reflect as many constraints as possible. Some constraints may not be possible to express in an ER diagram. Do not make any arbitrary assumptions or modify the constraints given in the problem statement. Make sure that all your entities, attributes and constraints are drawn (again, state assumptions clearly if they are not stated in the question). Please do not modify any given entities and attributes. (32 points) HINT: To complete this question, you may want to add more entities, relations and attributes. You may want to add constraints in the given diagram as well. Manages Team Belongs Player Manager Participates in Referee Is Assistant Ref Game Is Main Ref 2) It is possible that some constraints mentioned above cannot be enforced by the ER diagram features we learned in lecture. State these constraints. (4 points)
Expert Answer:
Related Book For
Posted Date:
Students also viewed these algorithms questions
-
Simon Company's year-end balance sheets follow. At December 31 Assets Cash Accounts receivable, net Merchandise inventory Prepaid expenses Plant assets, net $ 39.586 Current Year 1 Year Ago 2 Years...
-
Let A, B be sets. Define: (a) the Cartesian product (A B) (b) the set of relations R between A and B (c) the identity relation A on the set A [3 marks] Suppose S, T are relations between A and B, and...
-
Explain informally the difference between Godel's completeness theorem and his first incompleteness theorem. [8 marks] (b) State the meaning of Hoare triples {P} C {Q} in separation logic. [3 marks]...
-
Ethelbert.com is a young software company owned by two entrepreneurs. It currently needs to raise $400,000 to support its expansion plans. A venture capitalist is prepared to provide the cash in...
-
In Problem, find fʹ(x) and find the value (s) of x where the tangent line is horizontal. f(x) = (x-3)
-
What is meant by readers per copy? How is this different from CPM? Explain the advantages and disadvantages associated with the use of both.
-
What is the relevance of dividend cover if dividends are paid out of distributable profits?
-
How would each of the following changes tend to affect aggregate payout ratios (that is, the average for all corporations), other things held constant? Explain your answers. a. An increase in the...
-
4) Benny receives a $20000 salary for working as an agent. If Benny has to spend $15000 his salary on expenses each year, then what percent of Benny's money does he have to spend? Round your answer...
-
At June 30, 2022, the end of its most recent fiscal year, Green River Computer Consultants post-closing trial balance was as follows: The company underwent a major expansion in July. New staff was...
-
NEED EXCEL FORMULAS 1. Mike needs to earn $40,000 per year. How much does he need in an account today to generate this level of income for the next 30 years if the opportunity cost of money is 5%? 2....
-
. A monopsonists demand for labor can be written as VMPE = 40 0.005ED. Labor is supplied to the firm according to w = 5 + 0.01ES. Thus, the firms marginal cost of hiring workers when it hires off of...
-
You are asked to study the causal effect of hours spent on employee training (measured in hours per worker per week) in a manufacturing plant on the productivity of its workers (output per worker per...
-
Describe how we calculate the percentage decline in national income resulting from the misallocation of labor in a model of monopoly unions. What is the dollar value of this allocative inefficiency...
-
In a particular economy the labor force (the sum of employed and unemployed workers) is fixed at 4 million. In this economy, each month, \(0.3 \%\) of the workers who were employed at the beginning...
-
The new Disney theme park in Shanghai opened in 2016. Develop a list of at least five ways other units of Disney can help promote and publicize the parks operations.
-
Island Novelties, Incorporated, of Palau makes two products-Hawalian Fantasy and Tahitian Joy. Each product's selling price, variable expense per unit and annual sales volume are as follows: Selling...
-
Listed below are several terms and phrases associated with basic assumptions, broad accounting principles, and constraints. Pair each item from List A (by letter) with the item from List B that is...
-
On November 1, 2013, JEZ corporation contracted to purchase William and Kate memorabilia from England for 30,000 pounds (). The memorabilia was to be delivered on January 30, 2014, and payment would...
-
Several years ago, Revnon Co. acquired a 60% interest in Aumets Inc. at book value. During 2012 and 2013, intragroup sales of merchandise amounted to $120,000 and $180,000. On December 31, 2012, and...
-
Using the demonstration problem, assume that the functional currencies remain the same but the presentation currency of Energy Corporation is the U.S. dollar. Translate the Energy Corporation...
-
The income statement of Barbra Streisand Company is shown below. Additional information: 1. Accounts receivable decreased \($280,000\) during the year. 2. Prepaid expenses increased \($150,000\)...
-
George Clooney Company's income statement for the year ended December 31 2002, contained the following condensed information. Clooney s balance sheet contained the following comparative data at...
-
The financial statements of Frank B. Robinson Company appear below. Additional information: 1. Dividends declared and paid were \($3,000\). 2. During the year equipment was sold for \($8,500\) cash....
Study smarter with the SolutionInn App