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 |
|
merelogic
Starting Member
1 Post |
Posted - 2007-08-31 : 20:04:26
|
| hi,Can please someone help me with this?Val1 Val2 Val31 230 101 240 152 209 112 210 142 222 19Above is the result of a lengthy query.I need to find the Val3 of the max(Val2) after a group by on Val1.Thanks |
|
|
Zoroaster
Aged Yak Warrior
702 Posts |
Posted - 2007-08-31 : 20:22:11
|
| Can you post the DDL for the table and the original query?/*-----------------------Words are but constrained thoughts.------------------------*/ |
 |
|
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2007-09-01 : 04:07:59
|
Also provide information about your sql server version. E 12°55'05.25"N 56°04'39.16" |
 |
|
|
|
|
|