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.
| Author |
Topic |
|
ja660k
Starting Member
1 Post |
Posted - 2008-09-05 : 03:39:04
|
hey guys, this is a noob questionim new to sqlbut i need to find and display the highest number in a listwhat i have so far isselect max(count(NUM))from statsgroup by NUM/ instead of giving me the highest value it counts how many highest values there are ... 1can anyone help? |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2008-09-05 : 03:54:44
|
| select max(NUM)from statsMadhivananFailing to plan is Planning to fail |
 |
|
|
afrika
Master Smack Fu Yak Hacker
2706 Posts |
Posted - 2008-09-05 : 03:57:39
|
| http://msdn.microsoft.com/en-us/library/aa933240(SQL.80).aspx |
 |
|
|
|
|
|