You get, for each user name, exactly the max(date), and the corresponding row. Maybe you want to work on your WHERE clause - maybe you wanted to select all rows that have date = max(date), but you don't tell us. Also, this is really in SQL-land, not in Perl land. In Perl, I would use grep.
In reply to Re: More MySQL woes
by Corion
in thread More MySQL woes
by cosmicperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |