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
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Calculate Win/Loss records

Author  Topic 

webguru22
Starting Member

11 Posts

Posted - 2001-08-30 : 11:44:40
Hi gurus,
If I have a table with the fields:

GameID
HomeTeam
VisTeam
HomeScore
VisScore

How can I generate a newspaper style standings table like so?
Team Wins Losses Pct

I know that can all be calculated from the data in the table, but I cant get it to group correctly...Im sure this has been done a million times but I'm stumped. TIA

Scott




Edited by - webguru22 on 08/30/2001 11:45:14
   

- Advertisement -