in reply to Comparing rows keeping latest
Assuming you're the one writing the query, a simple SELECT MAX(Date) As MaxDate,ID FROM tblFoobar GROUP BY ID will get you exactly what you want. Leaving this problem to Perl is not the best approach IMHO
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Comparing rows keeping latest
by Anonymous Monk on Feb 20, 2006 at 20:53 UTC | |
by Grygonos (Chaplain) on Feb 21, 2006 at 18:02 UTC |