Support/Interesting queries

From MozillaWiki
< Support
Revision as of 03:38, 22 July 2008 by Np (talk | contribs) (New page: ==Threads per day== The number of threads posted each day. SELECT DATE(FROM_UNIXTIME(commentDate)) d, COUNT(*) c FROM tiki_comments WHERE parentId = 0 GROUP BY d ORDER BY d;)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Threads per day

The number of threads posted each day.

SELECT DATE(FROM_UNIXTIME(commentDate)) d, COUNT(*) c FROM tiki_comments WHERE parentId = 0 GROUP BY d ORDER BY d;