Guys I'm new here and new to MySQL too ..
So I am trying to create a database which manages a team record.The database contains a table named 'team' with a set of columns as follow,
1. TeamID[Primarykey,A_I]
2. TeamName[Unique]
3. TeamWins
4. TeamLoss
5. TeamPoints
So the agenda is to rank the teams on the basis of points, the greater the points higher the rank.All I want to do is take TeamName,TeamWins,TeamLoss and TeamPoints as input via php, and as the TeamPoints increase/decrease of a team its supposed to move the rank upwards/downwards and display a Ranking table.
Help me Please, Thanks!