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
Certes
This query is marked as a draft
This query has been published
by
Shazback
.
Toggle Highlighting
SQL
select * from pagelinks left join page on page_id=pl_from left join linktarget on lt_id=pl_target_id where page_id is null or pl_target_id is null and pagelinks.pl_from = 64386913 limit 100; -- SELECT * -- linktarget.lt_title, count(distinct spage.page_id) as LinkCount-- pagelinks.pl_target_id AS Target, SUM(pagelinks.page_title IS NULL) AS LinkCount -- FROM pagelinks -- left join linktarget on pagelinks.pl_target_id = linktarget.lt_id -- left join page as spage on pagelinks.pl_from = spage.page_id -- Left join page as tpage on pagelinks.lt_title = tpage.page_name_title -- where ( pagelinks.pl_from = 64386913 or pagelinks.pl_from = 44476398 ) AND linktarget.lt_namespace = 0 -- Group by lt_title -- ORDER BY LinkCount DESC -- LIMIT 1000
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...