select name,date,count(*) count from users group by date,name having count(*)=max(count)
select name,datefrom usersgroup by date,namehaving count(*) >= all(select count(*) from users group by date,name)
csuxp2008正解