Question

S3. Design an E-R diagram that stores the information of your favorite team. You must keep the matches played, the scores obt

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

The entity Relationship Diagram is shown below : It is having many-to-many relationship since single player can play multiple matches and a single match can be played by multiple players.

There are 3 entities (match , match_player, player ) with attributes as follows:

Match

  • ID ( primary key)
  • MatchDate
  • Stadium
  • Opponent
  • Own_Score
  • Opponent_Score

Match_Player

  • Match_ID ( primary key)
  • Player_ID( primary key)
  • Score

Match_ID and Player_ID is composite Primary key here

Player

  • ID( primary key)
  • Name
  • Age
  • Season_score<<derived>>
Add a comment
Know the answer?
Add Answer to:
S3. Design an E-R diagram that stores the information of your favorite team. You must keep...
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
  • I need to update this C++ code according to these instructions. The team name should be...

    I need to update this C++ code according to these instructions. The team name should be "Scooterbacks". I appreciate any help! Here is my code: #include <iostream> #include <string> #include <fstream> using namespace std; void menu(); int loadFile(string file,string names[],int jNo[],string pos[],int scores[]); string lowestScorer(string names[],int scores[],int size); string highestScorer(string names[],int scores[],int size); void searchByName(string names[],int jNo[],string pos[],int scores[],int size); int totalPoints(int scores[],int size); void sortByName(string names[],int jNo[],string pos[],int scores[],int size); void displayToScreen(string names[],int jNo[],string pos[],int scores[],int size); void writeToFile(string...

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