Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
This query is marked as a draft
This query has been published
by
Xiplus
.
Toggle Highlighting
SQL
USE zhwiki_p; SELECT page_title AS "from", CONCAT(case when pl_namespace = 2 then "User:" when pl_namespace = 3 then "User talk:" end, pl_title) AS "to" FROM pagelinks LEFT JOIN page ON pl_from = page_id LEFT JOIN ( SELECT * FROM categorylinks WHERE cl_to = '怀疑侵犯版权页面' OR cl_to = '正在构建的条目' ) cat ON pl_from = cl_from WHERE pl_from_namespace = 0 AND (pl_namespace = 2 OR pl_namespace = 3) AND cl_to IS NULL AND page_title != 'Wikipedia:知识问答'
By running queries you agree to the
Cloud Services Terms of Use
and you irrevocably agree to release your SQL under
CC0 License
.
Submit Query
Stop Query
All SQL code is licensed under
CC0 License
.
Checking query status...