Download presentation
Presentation is loading. Please wait.
Published byLaney Smallwood Modified over 9 years ago
2
Real Domain ► This database is created base on the information obtained from http://www.fifa.com/worldcup/archive/germ any2006/index.html http://www.fifa.com/worldcup/archive/germ any2006/index.html ► This database record the detail about the teams, players, results, awards and statistic information about FIFA world cup 2006
3
ERD FIFAWC2006_Statatic StatisticType StatTeam* StatPlayer* GF GFA GG PG SG YC RC FC FS FIFAWC2006_Result MatchNumber HomeTeam* AwayTeam* Stage Date Results FIFAWC2006_WCTeam WCTeam Abbreviate Region FIFAWC2006_Player PlayerID Name Age WCTeam* Position FIFAWC2006_Award Award Team PlayerID PlayerClub PlayerID* ClubID* Duration Club ClubID ClubName
4
One to many relationship
5
Many to Many Relationship
8
CONSTRAINT FIFAWC2006_ResultPK PRIMARY KEY (MatchNumber), CONSTRAINT FIFAWC2006_ResultFK_Invalid_HomeTeam FOREIGN KEY (HomeTeam) REFERENCES FIFAWC2006_WCTeam (WCTeam) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT FIFAWC2006_ResultFK_Invalid_AwayTeam FOREIGN KEY (AwayTeam) REFERENCES FIFAWC2006_WCTeam (WCTeam) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT FIFAWC2006_Result_Same_Team CHECK (HomeTeam <> AwayTeam) );
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.