Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
This query is marked as a draft
This query has been published
by
Jmorgan (WMF)
.
Ideas created per month. Note: Ideas will only show up on this list if they are still categorized as Ideas. Last run on 9/17/2014
Toggle Highlighting
SQL
#count IdeaLab ideas created per month SELECT EXTRACT(YEAR FROM DATE_FORMAT(rev_timestamp,'%Y%m%d%H%i%s')) AS `year`, EXTRACT(MONTH FROM DATE_FORMAT(rev_timestamp,'%Y%m%d%H%i%s')) AS `month`, COUNT(rev_id) AS ideas_created FROM metawiki_p.revision r INNER JOIN metawiki_p.page AS p ON r.rev_page = p.page_id INNER JOIN metawiki_p.categorylinks AS cl ON p.page_id = cl.cl_from WHERE p.page_namespace = 200 AND cl.cl_to IN ("IdeaLab/Ideas/IdeaLab") AND r.rev_parent_id = 0 GROUP BY `year`, `month` ORDER BY `year` ASC, `month` ASC;
By running queries you agree to the
Cloud Services Terms of Use
and you irrevocably agree to release your SQL under
CC0 License
.
Submit Query
Stop Query
All SQL code is licensed under
CC0 License
.
Checking query status...