Question: Draw the ER diagram and answer problem 1 - 5 please. Problem 1 : Create an ER diagram that corresponds to the following scenario. Be
Draw the ER diagram and answer problem please.
Problem : Create an ER diagram that corresponds to the following scenario. Be sure to
capture all relevant entities, relationships, attributes, primary keys, constraints, and any other
appropriate constructs as covered in class. When necessary, state any additional assumptions
you make, as long as they are reasonable and do not contradict the problem statement. You
may use either of the templates available on Canvas, or handdraw your ER diagram.
A football league is trying to create a database of its players, teams, and other
employees.
Each player is identified by their player ID but the database should also store their
name, position, jersey number, and salary. Players are assigned to exactly one team.
Each team as an ID name, and mascot.
For each game, the database should store the score and the date. Games are played by
two teams at a field; fields are also stored in the database according to their address and
the name of the field. Games are officiated by referees, who should have their league
referee ID and name stored in the database. Seven referees officiate each game.
At the end of every game, a picture is taken of the winning team for the league website.
The photo is assigned an ID and given a caption. The players and the team itself should
both be associated with the picture so that fans can search based on the player's name
and team's name.
Finally, each team is managed by multiple coaches with various roles: a head coach as
well as assistant coaches for defense, offense, and special teams. Coaches can only be
associated with one team at a time due to the nature of their contracts.
Problem : Identify any functional dependencies in the description of Problem Consider any
FDs that model a primary key constraints and FDs that model b manytoone or onetoone
relationships. Use to denote them.
Problem : Two hardware stores want to merge and have overlapping product lists. Each store
has an ID a name, and an address, and each product has a storespecific product ID price,
and description. Some products have a record for one store, while others have conflicting
records for both stores. Draw an ERD depicting this situation and upload a scan of the solution
as an image. Hint: consider how to model this as a single strongweak entity pair.
Problem : Consider the following relation:
And the following set of functional dependencies :
a Using the FDs determine the key K of R Hint: there is only one possible key for
b Determine a minimal basis for
c Using and determined above, calculate the of this database using the synthesis
algorithm. Show the resulting relations and their keys.
Problem We now want to convert from Problem to with respect to the minimal
basis using the splitting algorithm. The algorithm would begin as follows:
is not in with respect to Therefore, we split it into:
RA B C
Note that the key of R carries over from the key of the relation that was split R
Continue the splitting algorithm until all relations are in BCNF Show your work. Hint: you should
need to do two more splits.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
