Hallo,

Ich würde das ganze in mehre Subselects unterteilen.
So in etwa wie ...

Code:
select datum, max(anzahl) from (          
   select datum, time, count(*) anzahl from (
      select distinct datum, time, user) t1     
   group by datum, time ) t2
(Ungetestet)

lg Andreas