|
|
| Just another Perl shrine | |
| PerlMonks |
Re: Comparing rows keeping latestby Grygonos (Chaplain) |
| on Feb 20, 2006 at 15:44 UTC ( [id://531524]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
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
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||