Back to Playground Home

select ToEpochDays(timestamp_field) AS epochDays, avg(double_field) AS total
from users 
group by epochDays
order by total DESC
LIMIT 5