Jump to content

sport league database help


debecc

Recommended Posts

Hi,

 

I don't know if this is the correct forum for this question. I am sorry if it is not. I am relatively new to database design and mysql.

I am trying to build a database for a local softball league. I want to be able to output a schedule for each team, standings , and game results.

I am trying to figure out the best tables to create and what to populate with. At the moment my biggest question is for the schedule or games_table. If i have a teams_table would you add both teams as a column to the games_table? For example home_team and away_team? Or just have one team column and then there would be 2 records almost identical except for the team? I think i've been thinking too much about it and I've gotten myself confused.

 

I am planning on a winners_table,losers_table and scores_tables. These I thought I could use to make joins to get team standings and game results? Am I overdoing this. I just wanted to bounce off of some people who know what they are doing.

 

Thanks for any help!!

 

Deb

Link to comment
https://forums.phpfreaks.com/topic/43911-sport-league-database-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.