[thelist] mysql - group by & order by

Brian Cummiskey brian at hondaswap.com
Sun Dec 7 03:38:43 CST 2008


Joe Flintham wrote:

> GROUP BY s_group
> ORDER BY s_timeStamp DESC

try

group by s_group
having max(s_timestamp)



More information about the thelist mailing list