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 |
|
mageshks
Yak Posting Veteran
59 Posts |
Posted - 2007-06-15 : 07:01:25
|
| This is my tableC1 C2 C3------------------------1 2 1/1/20041 4 1/7/20041 4 1/9/20072 2 4/4/20093 4 1/2/20042 34 1/7/2007The follwing is the result i need,i.e., max date for each distinct value in c1C1 c3----------------------1 1/9/20072 1/7/20073 1/2/2004Thanks in Advance.., |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
|
|
mageshks
Yak Posting Veteran
59 Posts |
Posted - 2007-06-15 : 07:15:55
|
| I failed to mention that the query has to return c1,c2 for the max date in c3 |
 |
|
|
jsmith8858
Dr. Cross Join
7423 Posts |
|
|
|
|
|