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
SELECT pl_namespace, pl_title, COUNT(pl_from) AS `count` FROM pagelinks LEFT JOIN ( SELECT page_namespace, page_title FROM ( SELECT * FROM redirect WHERE rd_namespace = 102 ) rd LEFT JOIN page ON rd_from = page_id WHERE page_namespace = 4 ) rd2 ON pl_namespace = page_namespace AND pl_title = page_title WHERE page_namespace IS NOT NULL GROUP BY pl_namespace, pl_title ORDER BY `count` DESC
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...