Query last 24 Hours By Hour

select HOUR(added), count(*) as nbr
from visits
where added between '2009-07-14' and '2009-07-15'
group by HOUR(added)
order by HOUR(added)

0 Comments

You must be logged in to post a comment.