Fork of zhwiki policies and guidelines by Xiplus
This query is marked as a draft This query has been published by Xiplus.

SQL

x
 
SELECT p1.page_namespace, p1.page_title, pl_title, p2.page_is_redirect
FROM pagelinks
LEFT JOIN page AS p1 ON pl_from = p1.page_id
LEFT JOIN page AS p2 ON pl_title = p2.page_title AND pl_namespace = p2.page_namespace
WHERE pl_namespace = 4
    AND pl_title LIKE '持续出没的破坏者/记录/%'
    AND p1.page_is_redirect = 0
    AND NOT (p1.page_namespace = 4 AND p1.page_title = '持续出没的破坏者/记录')
    AND p2.page_is_redirect = 0
GROUP BY pl_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.

Checking query status...