Fork of
Number of files uploaded with UploadWizard before it provided a log comment, by month
by Guillom
This query is marked as a draft
This query has been published
by Guillom.
SQL
AخA
SELECT 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 < '20120823203303'
AND EXISTS (
SELECT 1
FROM revision r_later
WHERE r_later.rev_page = p.page_id
AND r_later.rev_comment_id = 33984
);
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.