How do I normalise this database design?
Posted
by Ian Roke
on Stack Overflow
See other posts from Stack Overflow
or by Ian Roke
Published on 2009-08-10T17:20:12Z
Indexed on
2010/03/22
19:21 UTC
Read the original article
Hit count: 323
I am creating a rowing reporting and statistics system for a client where I have a structure at the moment similar to the following:
-----------------------------------------------------------------------------
| ID | Team | Coaches | Rowers | Event | Position | Time |
-----------------------------------------------------------------------------
| 18 | TeamName | CoachName1 | RowerName1 | EventName | 1 | 01:32:34 |
| | | CoachName2 | RowerName2 | | | |
| | | | RowerName3 | | | |
| | | | RowerName4 | | | |
-----------------------------------------------------------------------------
This is an example row of data but I would like to expand this out to a Rowers table and Coaches table and so on but I don't know how best to then link that back to the Entries table which is what this is.
Has anybody got any words of wisdom they could share with me?
Update
A Team can have any number of Coaches and Rowers, a Rower can be in many Teams (Team A, B, C etc) and a Team can have many Coaches.
© Stack Overflow or respective owner