SQL
x
WITH fac AS (
SELECT SUBSTR(rev_timestamp,1,4) AS year, page_title, rev_timestamp, rev_len
FROM actor
JOIN revision_userindex ON rev_actor=actor_id AND rev_timestamp>='2020'
JOIN `comment` ON comment_id=rev_comment_id AND comment_text LIKE "Promoting '%' to Featured Article status"
JOIN page ON page_id=rev_page AND page_namespace=0
WHERE actor_name='FACBot'
)
SELECT a.year, a.page_title, a.rev_timestamp, a.rev_len
FROM fac a
WHERE rev_len = (SELECT max(rev_len) FROM fac b WHERE b.year=a.year)
ORDER BY a.year, a.page_title
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.