pottersdt2k
04-29-2006, 08:10 PM
Hey guys,
Currently working on improving a fansite for a soccer/football team I've got going at the minute, and was wondering if someone could help me with normalising the database.
Basically, the problem I'm having with the normalisation is with one particular section. This is adding a fixture result to the database, with the following information to be included in the result 'report' (to be displayed on screen)...
The result (eg Win 2-0); Attendance; Home or Away; Stadium; Opposition team name; Kick off Time; Competition; Referee; A list of Goalscorers (for both teams)
plus
A full list of players taking part (for my team, total of up to 25 players), which will include:
Surname, First Name, Time On, Time Off, Yellow Card (yes/no), Red Card (yes/no), Rating (1-10)
but I also want the user to be able to search the database for certain items, with the following outputted as a 'report';
A list of fixtures when a player has scored
A list of fixtures when a player has received a red or yellow card
A list of fixtures a player has taken part in
A full list of results against a particular opponent based on team name
as above based on stadium, home or away
A player biography to be shown based on a players surname or first name (result displays a list of links to the profiles of matching seach results)
List of fixtures controlled by a certain referee
other searches to be determined at a later date...
So far, I have the following tables which I think should work.
PLAYERS TABLE
PlayerID (Key), Surname, Forename, DateofBirth, Nationality, DateJoined, DateLeft, Position, ValuePurchased, ValueSold, Biography, Picture
GAME TABLE
GameID (Key), OppositionTeam, HomeOrAway, Stadium, KickOff, Competition, Attendance, Referee
Now, I aren't sure how to link the Players and Game tables together to create the player lists and goal lists...
Also, I presume that this should be done in SQL - or at least that would be the preference - but I'm more experienced in using MS Access; does anyone have any advice on which technology to use for this project? I will be using SQL for a phpBB forum anyway...
Thanks for any help you may be able to contribute; I realise this is a complicated issue (:eek: ), and am most grateful for any help offered :)
Currently working on improving a fansite for a soccer/football team I've got going at the minute, and was wondering if someone could help me with normalising the database.
Basically, the problem I'm having with the normalisation is with one particular section. This is adding a fixture result to the database, with the following information to be included in the result 'report' (to be displayed on screen)...
The result (eg Win 2-0); Attendance; Home or Away; Stadium; Opposition team name; Kick off Time; Competition; Referee; A list of Goalscorers (for both teams)
plus
A full list of players taking part (for my team, total of up to 25 players), which will include:
Surname, First Name, Time On, Time Off, Yellow Card (yes/no), Red Card (yes/no), Rating (1-10)
but I also want the user to be able to search the database for certain items, with the following outputted as a 'report';
A list of fixtures when a player has scored
A list of fixtures when a player has received a red or yellow card
A list of fixtures a player has taken part in
A full list of results against a particular opponent based on team name
as above based on stadium, home or away
A player biography to be shown based on a players surname or first name (result displays a list of links to the profiles of matching seach results)
List of fixtures controlled by a certain referee
other searches to be determined at a later date...
So far, I have the following tables which I think should work.
PLAYERS TABLE
PlayerID (Key), Surname, Forename, DateofBirth, Nationality, DateJoined, DateLeft, Position, ValuePurchased, ValueSold, Biography, Picture
GAME TABLE
GameID (Key), OppositionTeam, HomeOrAway, Stadium, KickOff, Competition, Attendance, Referee
Now, I aren't sure how to link the Players and Game tables together to create the player lists and goal lists...
Also, I presume that this should be done in SQL - or at least that would be the preference - but I'm more experienced in using MS Access; does anyone have any advice on which technology to use for this project? I will be using SQL for a phpBB forum anyway...
Thanks for any help you may be able to contribute; I realise this is a complicated issue (:eek: ), and am most grateful for any help offered :)