Fork of
POTY 2015/2016 R1 user count
by Steinsplitter
This query is marked as a draft
This query has been published
by Steinsplitter.
SQL
AخA
USE commonswiki_p;
SELECT
"2016" AS date,
COUNT(DISTINCT rev_user_text) AS count
FROM revision
INNER JOIN page
ON rev_page = page_id
WHERE rev_comment LIKE "+1 POTY vote - eligible on%"
AND page_title LIKE "Picture_of_the_Year/2016/R2/v/%"
UNION ALL
SELECT
"2015" AS date,
COUNT(DISTINCT rev_user_text) AS count
FROM revision
INNER JOIN page
ON rev_page = page_id
WHERE rev_comment LIKE "+1 POTY vote - eligible on%"
AND page_title LIKE "Picture_of_the_Year/2015/R2/v/%";;
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.