Question: Creating an Entity Relationship Diagram (ERD) Create an ER Diagram for the following business rules: Sales rep data include a sales rep number (unique identifier),

Creating an Entity Relationship Diagram (ERD)

Create an ER Diagram for the following business rules:

Sales rep data include a sales rep number (unique identifier), name, and phone number. A sales rep services 0 or more customers. Customer data includes a customer number (unique identifier), name, address, and phone. Each customer places 1 or more orders. Order data include an order number (unique identifier) and order date. Each order contains 1 or more products. Products can be listed on 0 or more orders. Product data includes a product number (unique identifier), description, and price. Each product contained on an order has a quantity ordered. Hint: be careful with the relationship between Product and Order. How will you deal with quantity?

A local youth sports league needs a database system to help track children that sign up to play. Data needs to be kept on each team and the children that will be playing on each team and their parent or parents that registered them. Also, data needs to be kept on the coaches for each team.

Entities required: Team, Player, Coach, and Parent.

Attributes required:

Team: Team ID number, Team name, and Team colors. Hint: Note the plural for Team colors.

Player: Player ID number, Player first name, Player last name, date of birth, and age. Hint: Note that age can be determined from date of birth.

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).

Business rules are defined by the following bullets:

A Team has 0 or more Coaches and a Coach has only one Team.

A Team has 0 or more Players and a Player has only one Team.

A Player is registered by 1 or more Parents and each Parent registers 1 or more Players. When registering please keep track of the registration date.

Deliverable:

Insert your answer below the text of each problem.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!