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)
 Max value in a row

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2001-07-24 : 08:26:08
IM writes "Hello

The case:

There are three values in a row.

Name          A               B              C
Res1 8 4 0
Res2 4 12 2
Res3 12 4 8


How do I get the max value of A, B, C for Res1, Res2 or Res3, meaning...

The result should look like this:

Res1           8
Res2 12
Res3 12

Is there any query?"
   

- Advertisement -