|
You should create a third table containing just the teams. Each team gets a unique numeric ID. This ID is entered in a field for each player in the players table, which will tie each player to a team. Then, give a unique ID to each player in the players table, and create a field in your stats table (1.gif) for this ID so you can tie each player to a group of statistics. Make each ID an autoincrement field so the number is automatically bumped when you add a team, player, whatever. Doing this should give you more of a relational database and you'll be able to build some decent queries: select/sort by team, player, assists, anything you like.
That's a start, anyway.
__________________
Linkstream Technologies, LLC
Hosting Excellence Since 1999
Please login or register to view this content. Registration is FREEShared / Reseller / Dedicated Servers
Featuring cPanel and DirectAdmin
|