Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Most wanted articles: ns0→ns0 redlinks only
by
Netha Hussain
This query is marked as a draft
This query has been published
by
Cyberwolf
.
Query to find the most wanted articles starting with any letter. In the below code choose the corresponding letters in the fields pl_title. For the letter P, choose pl_title >= 'P' AND pl_title < 'Q' in the following code.
Toggle Highlighting
SQL
SELECT pl_title AS Target, COUNT(IF(page_title IS NULL, 1, NULL)) AS LinkCount FROM pagelinks LEFT JOIN page ON page_namespace = 0 AND page_title = pl_title WHERE pl_from_namespace = 0 AND pl_namespace = 0 GROUP BY Target HAVING LinkCount > 500 ORDER BY LinkCount 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...