hello all...
I am creating a high school sports database that will be published as ASP pages...i am having difficulty trying to think of how to set up the tables for normalization purposes
when the visitor interfaces with the site, they will
Select Season (2006, 2007, etc.)
Select Sport (Football, Basketball, Volleyball, etc.)
Select Team (Cardinals, Bulldogs, etc.)
and view by team
Date of Game Selected Team Opponent Score Win or Loss
9-1 Cardinals Bulldogs 14-10 W
this means, however, that when the inverse team is selected it would appear as
9-1 Bulldogs Cardinals 14-10 L
When the team is selected, it is great if the visitor sees all of the scheduled games and the score and win appears when the database is updated following the game
I just cannot seem to figure out the normalization for this: I have tables:
Season
Sport
Teams
Opponents
Games
Score
Does this table set up seem even close? and how do I report the games by team so that a team may appear as selected team or as selected team's opponent???
Thank you to anyone with any suggestions or direction on this!!!