Greetings,
I'm trying to retrieve the most recent date for each code.
for example:
Table A
code Date
code111: 02/10/2005
code111: 03/10/2006
code111: 03/10/2007
code122: 04/10/2000
code122: 03/10/2003
code122: 03/10/2007
I'm trying to retrieve the most recent date for each code and use it in a large query.
Right now I've tried dumping my MAX(date) results in a temp table...but obviously the 'max' date in this case returns the only date it has.
Please help!
Appreciate it greatly. []
I'm trying to retrieve the most recent date for each code.
for example:
Table A
code Date
code111: 02/10/2005
code111: 03/10/2006
code111: 03/10/2007
code122: 04/10/2000
code122: 03/10/2003
code122: 03/10/2007
I'm trying to retrieve the most recent date for each code and use it in a large query.
Right now I've tried dumping my MAX(date) results in a temp table...but obviously the 'max' date in this case returns the only date it has.
Please help!
Appreciate it greatly. []