in reply to More MySQL woes
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: More MySQL woes
by cosmicperl (Chaplain) on Jan 20, 2008 at 20:10 UTC | |
by perrin (Chancellor) on Jan 21, 2008 at 03:01 UTC | |
by cosmicperl (Chaplain) on Jan 20, 2008 at 20:25 UTC | |
by jhourcle (Prior) on Jan 20, 2008 at 21:59 UTC | |
by chrism01 (Friar) on Jan 21, 2008 at 05:05 UTC | |
by dsheroh (Monsignor) on Jan 21, 2008 at 17:39 UTC | |
by moritz (Cardinal) on Jan 20, 2008 at 20:25 UTC | |
by cosmicperl (Chaplain) on Jan 20, 2008 at 21:53 UTC |