足球数据库帮助
谁能让我知道如何使这一点正常化,我被困在主/客队位上。干杯
TEAM(Team_id,TeamName)
PLAYER(Player_id,名字,姓氏,出生日期)
合同(Player_id,Team_id,开始日期,结束日期,SqaudNumber)
FIXTURE(Fixture_id,Ref_id,主队,客队,日期)
REFERE(Ref_id,名字,姓氏)
纪律案例(DCase_id、Player_id、Fixture_id、Event)
Can anyone let me know how 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)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
只要 HomeTeam 和 AwayTeam 引用 TEAM.Team_id ,我看起来就很好,
除非我误解了这个问题
It looks fine to me as long as HomeTeam and AwayTeam refer to TEAM.Team_id
Unless I'm misunderstanding the question