Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 Database Design and Application Architecture
 football scoring system

Author  Topic 

markmce
Starting Member

7 Posts

Posted - 2014-07-27 : 16:39:08
Hi, I have been given the task of creating a football scoring system using sql server database. I then have to implement this into asp.net to create the web design.

The database is given me a real headache and i dont know what tables to create and what relationships should be put in place.

So the instructions I have been given are as follows

The league will have a maximum of 12 teams

Teams must play at least 6 games each

Each team will play at least 3 games as “Home” team and at least 3 games as “Away” team.

The league will be split in 3 “Groups” of 4 teams each.

Teams are only expected to play against other teams in the same group. Team allocation to groups should be random at the start of each championship.

The system will then produce a “Team Standing Table” for each “Group” showing the team standing, accumulated goals scored, accumulated goals against, won drawn and lost games, and points accumulated. Points are awarded as follow: 3 points per game won, 1 point per game drawn, 0 points per game lost.
   

- Advertisement -