Fork of NewPagesFeed pages tagged with anything by Samwilson
This query is marked as a draft This query has been published by Jtmorgan.

SQL

AخA
 
USE enwiki_p;
SELECT page_id, page_title, GROUP_CONCAT(ptrt_tag_name) AS tags
FROM pagetriage_page p
    JOIN page ON page.page_id = p.ptrp_page_id
    LEFT JOIN pagetriage_page_tags pt ON pt.ptrpt_page_id = p.ptrp_page_id
    LEFT JOIN pagetriage_tags t ON t.ptrt_tag_id = pt.ptrpt_tag_id
WHERE ptrp_reviewed = 0
    AND page_is_redirect = 0
    AND page_namespace = 0
    AND ptrpt_value = 1
    -- AND ptrt_tag_name IN ( 'csd_status', 'prod_status', 'blp_prod_status', 'afd_status' )
GROUP BY page_id
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.

Checking query status...