Fork of
Page curation actions per month by type
by Jtmorgan
This query is marked as a draft
This query has been published
by Jtmorgan.
SQL
AخA
SELECT EXTRACT(YEAR FROM DATE_FORMAT(log_timestamp,'%Y%m%d%H%i%s')) AS `year`,
EXTRACT(MONTH FROM DATE_FORMAT(log_timestamp,'%Y%m%d%H%i%s')) AS `month`, count(log_id) as unreviews
from logging WHERE log_type='pagetriage-curation' AND log_action = 'unreviewed' and log_timestamp between 20151201000000 and 20170430000000
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.
All SQL code is licensed under CC0 License.