This query:
SELECT p.Path, p.Title, COUNT(s.ID) AS Total FROM Stats AS s, Paths AS p
WHERE s.ID=p.ID AND s.Stamp = '2002-10-03' GROUP BY Path,Title ORDER BY
Total DESC LIMIT 10
Returns 0 records. When I remove the COUNT(s.ID) and GROUP BY clause, it
works fine. Why can't I get the GROUP BY and...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.