Hallo,
Ich würde das ganze in mehre Subselects unterteilen.
So in etwa wie ...
(Ungetestet)Code:select datum, max(anzahl) from ( select datum, time, count(*) anzahl from ( select distinct datum, time, user) t1 group by datum, time ) t2
lg Andreas
Bookmarks