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 |
|
Richard Branson
Yak Posting Veteran
84 Posts |
Posted - 2005-03-01 : 07:57:45
|
| Hi Fellow Code WarriorsI was wondering how one could do the following:I have a table that has the following data:Ent_Nbr DateEn1 23/05/2004En1 25/07/2004En1 05/08/2004En1 03/12/2004EN2 03/01/2004EN2 18/09/2004EN2 23/05/2004EN4 29/04/2004EN4 03/12/2004EN4 21/04/2004EN4 05/08/2004EN4 23/05/2004EN4 26/09/2004What method can I use to select the latest and the the second latest date?Ent_Nbr Latest DateEnt_Nbr Second Latest DateFor each ent_nbrYou can't teach an old mouse new clicks. |
|
|
robvolk
Most Valuable Yak
15732 Posts |
Posted - 2005-03-01 : 08:00:06
|
| http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=46523 |
 |
|
|
|
|
|