Assignment 1: ER Model Arkansas Basketball Conference is an amateur basketball association. It has contacted you to create a database that will meet the expected data requirements for its basketball game management program. The administrator gives you the following description of the group's operating environment. Each city in the county has one team that represents it. The database will maintain information about cities (CityID, Name, and State) and teams (TeamID, Name, and Mascot). Each team has a number of players. Each player belongs to one team. Player information (such as PlayerID, FName, LName, and Position) will be maintained in the database A team has many coaches (e.g., head coach, offensive coaches, defensive coaches etc.). Each coach belongs to one team. The database will store information on coach such as CoachID, Name, Phone, and Title. A team plays many games against other teams during the season. Each game involves two teams. The game information (such as GamelD, Location, Score, Date and Description) will be maintained. The system will need to maintain information which team won or lost in the game.
ER diagram is known as Entity-Relationship Diagram, it is used to analyze to structure of the Database. It shows relationships between entities and their attributes. An ER Model provides a means of communication.
Entities and their Attributes are
City Entity : Attributes of City Entity are cityID,name,state.
cityID is Primary Key for City Entity.
Team Entity : Attributes of Team Entity are teamID,name,mascot.
teamID is Primary Key for Team Entity.
Player Entity : Attributes of Player Entity are playerID,Fname,Lname,position.
playerID is Primary Key for Player Entity.
Coach Entity : Attributes of Coach Entity are coachID,name,phone,title.
coachID is Primary Key for Coach Entity.
Game Entity : Attributes of Game Entity are gameID,score,location date,description.
gameID is Primary Key for Game Entity.
Staff Entity : Attributes of staff Entity are empID,Fname,Lname,address,salary,hiredate.
empID is Primary Key for staff Entity.
Dependent Entity : Attributes of Dependent Entity are first name,birthdate,relationship.
cityID is Primary Key for Dependent Entity.
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 1 images