|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
if i do not want to use MAX(score) what else can i use to look for max score?
SELECT Name, MAX(Score) FROM MyClass |
|
#2
|
|||
|
|||
|
select TOP 1 [Name], Score from MyClass order by Score DESC
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
|
#3
|
||||
|
||||
|
Quote:
The only way to get the MAX score, would be to use the MAX function. |
![]() |
| Viewing: ASP Free Forums > Database > Microsoft SQL Server > SQL need halp..... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|