Firstly, sorry for the long post, but if you have got the time to read it and help I’d appreciate it!
I’ve been tasked of creating a database for my local football club and needed a few bits of advice.
I’m imaging that after each game I could load up a form, and enter; the date of the game, the opponent, if it was home or away, then put in the starting 11, who came on as a sub and who scored or got booked etc. This would then somehow (this is the bit I don’t know how! And makes me wonder if some kind of spread sheet would be better) update a table or two with the stats totals. This would hopefully then not only update their season totals but club career totals as well.
I realise there is websites (such as clubwebsite.co.uk) for the above bit, but we want our own database so that we can search through the data and pull out want we specifically through queries. The idea is that through creating the database we will be able to keep records up to date of most appearances, most goals, most yellow and red cards etc, as well as being able to draw on stats before each game such as the last five results between the two teams, who has scored the most against them, if anyone is about to reach a milestone such as 50 goals or what not (a lot like what the game Football Manager 2010 did before a game).
It’s a new team that’s only been going one season so shouldn’t take too long to input last years data. What I envisage that I need to do is set up the following tables;
1) Player Table; All players details such as name & joining date
2) Teams Table; A table with all our opponents team names
3) Venue Table; a table with home, away & neutral in
4) A New player form; so that I can add players into the player table
5) A New Team form; so that I can add teams into the team table
6) A Game form; So that I can enter the details of the game as mentioned in one of the earlier paragraphs.
I realise that I need to give certain things a unique ID such as the player, teams and venue.
So my questions are;
a) would I need some kind of stats table? What would go in here do you think?
b) Also how does the database give me totals? Is that possible?
c) Is a database the best way to go?
At the moment a part from setting up those basic tables I’m kind of at a loss of how to progress with it. I don’t know where the data that I enter in my game form would go? Im a fairly basic user when it comes to databases and the like but I can actually turn on a computer which puts me ahead of most of the lot in my team (hence why I got volunteered to do this!)
I have searched for maybe a template on the web but I cannot seem to find one which is a shame.
Cheers in advance!