LAB 1CSIS04021 Briefing on Assignment One & RMI Programming February 13, 2007.
HD assignment 2007
-
Upload
ivana-calhoun -
Category
Documents
-
view
19 -
download
1
description
Transcript of HD assignment 2007
Real DomainReal Domain
►This database is created base on the This database is created base on the information obtained frominformation obtained from
http://www.fifa.com/worldcup/archive/ghttp://www.fifa.com/worldcup/archive/germany2006/index.htmlermany2006/index.html
►This database record the detail about This database record the detail about the teams, players, results, awards and the teams, players, results, awards and statistic information about FIFA world statistic information about FIFA world cup 2006cup 2006
ERDERDFIFAWC2006_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
One to many One to many relationshiprelationship
Many to Many RelationshipMany to Many Relationship
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)
);