开发者

Football DB Help

开发者 https://www.devze.com 2023-03-23 14:55 出处:网络
Can anyone let me know h开发者_Python百科ow to normalise this, I\'mstuck on the home/away team bit. Cheers

Can anyone let me know h开发者_Python百科ow to normalise this, I'm stuck on the home/away team bit. Cheers

TEAM(Team_id,TeamName)

PLAYER(Player_id,FirstName,LastName,DOB)

CONTRACT(Player_id,Team_id,StartDate,EndDate,SqaudNumber)

FIXTURE(Fixture_id,Ref_id,HomeTeam,AwayTeam,Date)

REFEREE(Ref_id,FirstName,LastName)

DISCIPLINARY CASE(DCase_id,Player_id,Fixture_id,Event)


It looks fine to me as long as HomeTeam and AwayTeam refer to TEAM.Team_id

Unless I'm misunderstanding the question

0

精彩评论

暂无评论...
验证码 换一张
取 消