Question

Database model help

(From the book Database Systems 10th editions by Coronel pg.142-143)
The local city youth league needs a database system to help track children who sign up to play soccer. Data need to be kept on each team and the children who will beplaying on each team and their parents. Also, data need to be kept on the coaches for each team. Draw the data model described below:
Entities required: Team, Player, Coach, and Parent
Attributes required:
- Team:
Team ID number, Team name, and Team colors
- Player:
Player ID number, Player first name, and Player last name
- Coach:
Coach ID number, Coach first name, Coach last name, and Coach home phone number
- Parent:
Parent ID number, Parent last name, Parent first name, Home phone number, and Home address (street, city, state, and zip code)

The following relationships must be defined:
- Team is related to Player
- Team is related to Coach
- Player is related to Parent


Connectivities and participants are also defined as follows:
- A Team may or may not have a Player
- A Player must have a Team
- A Team may have many Players
- A Player has only one Team
- A Team may or may not have a Coach
- A Coach must have a Team
- A Team may have many Coaches
- A Coach has only one Team
- A Player must have a Parent
- A Parent must have a Player
- A Player may have many Parents
- A Parent may have many Players
1 0
Add a comment Improve this question Transcribed image text
✔ Recommended Answer
Answer #1

Crow’s Foot Notation ERD:

In this notation entities are represented in boxes and relationships are represented using line. There are many different shapes are used at the end of the line which represent the cardinality of the relationship.

Cardinality:

It refers to the uniqueness of the data value contained in the particular column of table. When cardinality is lower, then there will be more duplicate elements in the column.

• Cardinality (0, N) represents zero or many relationships.

• Cardinality (1, N) represents one or many relationships.

• Cardinality (1, 1) represents one and only one relationship.

• Cardinality (0, 1) represents zero and one relationship.

According to the given specifications the data model can be drawn as follow:

ERD with foreign keys:

Picture 1

Explanation:

In above diagram, there is an curious fact about the Team_Colors attribute that if teams have more than one color as it is implied “colors” in plural form.

Consider three cases:

• if Team_Colors is a single-valued attribute,

• create more than one attributes within the TEAM entity, or

• create a separate COLOR table.

• The attribute Team_Colors can be left with one attribute as user is not concerned with dealing with the more than one color individually.

• For example, user is not interested in knowing that how many teams have the same color Black, then in this case the above diagram can be implemented.

• In second case, if there are some possibilities that in future users may become interested for assigning the different colors for a given team seperately, then it must be modified the above diagram to fullfill this need.

• If it is confirmed that all teams have the exactly two team colors for now and forever, then modify the design by adding additional attributes in the TEAM entity.

ERD with two Team_Color attribute:

Picture 7

• The above model is a kind of limited solution because it will work only if teams have exactly two team colors but problem arises if some teams have more than two colors.

• In this case, it will have to modify the data model of the database by designing with a separate table named COLOR to handle the multi-valued Colors OF Team attribute.

ERD with separate table COLOR:

Picture 8

Add a comment
Know the answer?
Add Answer to:
Database model help
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Similar Homework Help Questions
  • Please answer CLEARLY and LEGIBLE Relational Algebra The local city youth league needs a database system...

    Please answer CLEARLY and LEGIBLE Relational Algebra The local city youth league needs a database system to help track children who sign up to play soccer. Data needs to be kept on each team, the children who will play on each team, and their parents. Also, data needs to be kept on the coaches for each team. Each team is given an ID and Team name. Each player and each parent are given an ID when they sign up. Each...

  • Given the following business scenario, create a Crow’s Foot ERD The local city youth league needs...

    Given the following business scenario, create a Crow’s Foot ERD The local city youth league needs a database system to help track children that sign up to play soccer. Data needs to be kept on each team and the children that will be playing on each team and their parents. The team has an ID, name, and colors. Data stored for each player consists of the id, first name, last name, and age. Also, data needs to be kept on...

  • Crow's Foor Notation

    Create a Crow’s Foot Notation Entity Relationship Diagram (ERD) to support the following business operations:The local city youth league needs a database system to help track children who sign up to play soccer. Data needs to be kept on each team, the children who will play on each team, and their parents. Also, data needs to be kept on the coaches for each team and matches.You need to store theTeam IDTeam namePlayer IDPlayer first name,Player last name, andPlayer age of...

  • QUESTION 1 1. Use the following business rules to draw the fully labeled Crow's Foot ERD...

    QUESTION 1 1. Use the following business rules to draw the fully labeled Crow's Foot ERD in Visio. The diagram must include all entities, attributes, and relationships. Primary keys and foreign keys must be clearly identified on the diagram. Write all appropriate connectivities and cardinalities on the ERD. a). Each city may have many sport teams. The number of teams is limited to 20 per city. b). Each team belongs to one and only city. c). Each team has at...

  • QUESTION 1 1. Use the following business rules to draw the fully labeled Crow's Foot ERD...

    QUESTION 1 1. Use the following business rules to draw the fully labeled Crow's Foot ERD in Visio. The diagram must include all entities, attributes, and relationships. Primary keys and foreign keys must be clearly identified on the diagram. Write all appropriate connectivities and cardinalities on the ERD. a). Each city may have many sport teams. The number of teams is limited to 20 per city. b). Each team belongs to one and only city. c). Each team has at...

  • The Jonesburgh County Basketball Conference (JCBC) is an amateur basketball association. Each city in the county has one...

    The Jonesburgh County Basketball Conference (JCBC) is an amateur basketball association. Each city in the county has one team as its representative. Each team has a maximum of 12 players and a minimum of 9 players. Each team also has up to 3 coaches (offensive, defensive, and physical training coaches). During the season, each team plays 2 games (home and visitor) against each of the other teams. Given those conditions, do the following: Identify the connectivity of each relationship. Identify...

  • Create an ER diagram to model the following specification: A football team has multiple players Each...

    Create an ER diagram to model the following specification: A football team has multiple players Each team has a name and a home city. No two teams can have the same name and home city combination. Every player must be on a team. Each player has a name and a player number; the combination of the player number and the team information is unique

  • Create an ER diagram to model the following specification: A football team has multiple players Each...

    Create an ER diagram to model the following specification: A football team has multiple players Each team has a name and a home city. No two teams can have the same name and home city combination. Every player must be on a team. Each player has a name and a player number; the combination of the player number and the team information is unique

  • We would like to design a database to maintain information about hospital staff, including doctors and...

    We would like to design a database to maintain information about hospital staff, including doctors and nurses, and patients at the hospital. Construct a crow’s feet diagram using the information provided. The information we need includes: Staff, including their names, addresses and social-security numbers. Patients, including their names, addresses, and the name of their insurance company. Patients are each assigned to a ward (room). Those staff who are nurses are assigned to zero or more wards. Each ward has at...

  • Problem 33, chapter 7 from Database Systems 13th edition by Coronel Write a query to display...

    Problem 33, chapter 7 from Database Systems 13th edition by Coronel Write a query to display the employee number, last name, email address, title, and department name of each employee whose job title ends in the word “ASSOCIATE.” Sort the output by department name and employee title Problem 36, chapter 7 from Database Systems 13th edition by Coronel Write a query to display the number of products within each base and type combination, sorted by base and then by type...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT