Question

Need help with database ER diagram. Thank you Design a database for team sport of your...

Need help with database ER diagram. Thank you

Design a database for team sport of your choice (for example hockey, soccer). Include information

about athletes and their team. Draw the ER diagram. Be sure to underline the Primary keys.

-ATHLETE includes their name, age, id,

-TEAM includes name, id, colors, city, ranking

-Each athlete PLAYS_FOR a team and what year they started

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Dear Student ,

As per requirement submitted above kindly find below solution.

This demonstration is using SQL Server.

1.Table Name :ATHLETE

create table ATHLETE (
id int primary key,
name varchar(20),
age int)

2.Table Name :TEAM

create table TEAM (
id int primary key,
name varchar(20),
colors varchar(20),
city varchar(50),
ranking int)

3.Table Name :PLAYS_FOR

create table PLAYS_FOR (
Player_id int ,
Team_id int,
year int,
primary key(Player_Id,Team_Id,year),
foreign key (Player_id) references ATHLETE(id),
foreign key (Team_id) references team(id)
);

***************************************

ER Diagram :

NOTE :PLEASE FEEL FREE TO PROVIDE FEEDBACK ABOUT THE SOLUTION.

Add a comment
Know the answer?
Add Answer to:
Need help with database ER diagram. Thank you Design a database for team sport of your...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Question 4. ER model (5 points). You are asked to design the ER diagram for a database to manage ...

    Question 4. ER model (5 points). You are asked to design the ER diagram for a database to manage data for athletes athletic game. Requirements are as follows: Each participating team has a name and a manager. Each athlete has a unique athlete ID, and is also described by first name and last name, gender and age. A team has many athletes but an athlete only belongs to one team. Each sport has a unique code and some sport name....

  • I need to draw an ER diagram for a future database necessary to hold application data...

    I need to draw an ER diagram for a future database necessary to hold application data for students wishing to apply for a programming internship job on campus. The students will provide the following information on the application: studentID_Number, first name, last name, email, phone number, address, city, state, postal code, major, currently enrolled in school?, expected date of graduation, web framework of choice, list of programming languages in which the student is proficient, SAT score, ACT score, GPA, 4...

  • policy number, owner name, insured amount, and name of the verencialy. (25 pts.) Design an ER...

    policy number, owner name, insured amount, and name of the verencialy. (25 pts.) Design an ER diagram for a simple database for the National Hockey League (NHL): • The NHL has many teams Each team has a name, a city, a coach, a captain, and a set of players Each player belongs to only one team Each player has a name, a position (such as left wing or goalie), a skill level, and a set of injury records (each has...

  • 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 ParentAttributes required:- Team:Team ID number, Team name, and Team...

  • I would like help with this question and please be clear and thank you for the...

    I would like help with this question and please be clear and thank you for the help. Produce a relational schema diagram that corresponds to the following ER diagram for a Vacation Property Rentals database. Your relational schema diagram should include primary & foreign keys. Upload your relational schema diagram as a PDF document. Don't forget that the relation schemas for "Beach Property" and "Mountain Property" should each have primary keys. FYI: "d" in this notation denotes a subclass. Figure...

  • Design the entity relationship conceptual schema. Depict the ER diagram you have designed, outlining the entity...

    Design the entity relationship conceptual schema. Depict the ER diagram you have designed, outlining the entity types, relationship types, their respectives attributes, keys, structual constraints, and role names. In designing the entity relationship schema, make the initial conceptual design and the neccessary refinements after that. This will be a hospital database hospital, include patients, each patient will be either inpatient or outpatient and have a unique ID, first name, last name, address, city, zip code, phone number, and room number....

  • c) Write an ER Diagram for the following Library database. Identify all the Entities, Relationships and Attributes. Underline the primary keys and mark the different constraints. You can add an I att...

    c) Write an ER Diagram for the following Library database. Identify all the Entities, Relationships and Attributes. Underline the primary keys and mark the different constraints. You can add an I attribute as a primary key for an entity to make t unique if necessary. Library has a number of branches in the city, each branch having a name, address and librarian. Books have title, authors and publisher. A book can have multiple authors but a single publisher. Note that same...

  • question One: Design an ER diagram for the following Dental Clinic database. Your diagram should have...

    question One: Design an ER diagram for the following Dental Clinic database. Your diagram should have all the needed details. You may make any reasonable assumptions but you have to state them clearly. ------ The clinic has several dentists. Each dentist has a unique Number, name, nationality, multiple room-number, salary, birth-date and home-address (Box, City, Zip). Each client (patient) has a unique Code, name, home-phone, work-phone, address, and birth-date. Each client is assigned to one dentist. All future visits will...

  • 21. The local city youth league needs a database system to help track children who sign...

    21. 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. Draw a data model with the entities and attributes described here. Entities required: Team, Player, Coach, and Parent Attributes required: Team: Team ID number, Team name, and Team colors...

  • Design an ER diagram for a database for the Emory College. Here are some facts about...

    Design an ER diagram for a database for the Emory College. Here are some facts about the college: The Emory College consists of a number of Departments (MathCS, Physics, etc) A department has a unique name, address, phone number and can have a number of faculty members. A faculty member has SSN, name, office, phone number and salary A department has one department chair with a starting date A department can teach a number of courses A course has a...

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