SQL
AخA
SELECT LEFT(r_first.rev_timestamp, 6) AS creation_month, COUNT(DISTINCT p.page_id) AS unique_page_count
FROM page p
JOIN revision r_first ON r_first.rev_page = p.page_id
WHERE r_first.rev_parent_id = 0
AND r_first.rev_timestamp >= '20101130000000'
AND r_first.rev_timestamp < '20120823203303'
AND EXISTS (
SELECT 1
FROM revision r_later
WHERE r_later.rev_page = p.page_id
AND r_later.rev_comment_id = 33984
)
GROUP BY creation_month
ORDER BY creation_month;
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.