Well here's what I'm running the query on:
id,group,user,time
1,1,Russell,20010826000000
2,1,Joe,20010827000000
3,1,Bob,20010828000000
SELECT user,time,COUNT(group)
FROM test
GROUP BY group
returns: Russell,20010826000000,3
SELECT user,time,COUNT(group)
FROM test
GROUP BY group
HAVING time=MAX(time)
returns: nothing
From what I got from the documentation for HAVING, it is applied after the grouping takes place and since the result time is the least of the times it is not returned.
Russell