Welcome Guest, Not a member yet? Register   Sign In
Most Searches in a Day
#3

[eluser]EEssam[/eluser]
A good guy just told me how to do it in SQL:

Code:
SELECT DATE(FROM_UNIXTIME(`timestamp`)) AS the_day, COUNT(*) AS the_count FROM search GROUP BY the_day ORDER BY the_count DESC LIMIT 1

Smile


Messages In This Thread
Most Searches in a Day - by El Forum - 09-24-2008, 01:41 PM
Most Searches in a Day - by El Forum - 09-24-2008, 03:01 PM
Most Searches in a Day - by El Forum - 09-24-2008, 03:04 PM
Most Searches in a Day - by El Forum - 09-24-2008, 03:07 PM
Most Searches in a Day - by El Forum - 09-24-2008, 03:09 PM
Most Searches in a Day - by El Forum - 09-24-2008, 03:09 PM
Most Searches in a Day - by El Forum - 09-24-2008, 06:05 PM



Theme © iAndrew 2016 - Forum software by © MyBB