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
Multichill
.
Get deleted items with incoming links. Same as http://quarry.wmflabs.org/query/646, but with LEFT JOIN, so should be faster.
Toggle Highlighting
SQL
USE wikidatawiki_p; SELECT pl_title, count(*) FROM pagelinks LEFT JOIN page ON pl_title = page_title AND pl_namespace = page_namespace WHERE pl_from_namespace=0 AND pl_namespace=0 AND page_id IS NULL GROUP BY 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...