Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Overview: The purpose of this assignment is to practice the creation of a Relational Data Model from an Entity-Relationship Diagram. This Assignment requires that you

image text in transcribed
image text in transcribed
Overview: The purpose of this assignment is to practice the creation of a Relational Data Model from an Entity-Relationship Diagram. This Assignment requires that you use Microsoft Visio to draw your Entity Relationship Diagram, and also to use Data Definition Language (DDL) statements to create the structures of a database. Instructions: 1. You may work in pairs if you like. If you work in pairs, please inform me in advance. In this case, there should be one group submission. 2. You must use SQL command line to write and execute your SQL statements. 3. Submit your assignment in a compressed folder yourname_assignment# that includes your ER diagram showing all entities, primary keys, and foreign key relationships along with the script file Assig2_script.sql. The assignment must be submitted on Omnivox (Lea). What to do: 01- 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. Also, data needs to be kept on the coaches for each team. Use the following business rules to create a Crow's Foot ERD. With the use of Microsoft Visio, draw YOUR entity relationship diagram (ERD) to indicate entities, relationships, and connectives and resolve M:N relationships. 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, Player last name, and Player age. 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 PARTICIPATIONS ARE 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 Q2 Write SQL statements that translate your ERD for Q1 into the relational model that is, the SQL statements should create tables corresponding to the entities and relationships in the ERD)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Murach's SQL Server 2012 For Developers

Authors: Bryan Syverson, Joel Murach, Mike Murach

1st Edition

1890774693, 9781890774691

More Books

Students also viewed these Databases questions