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
Invisigoth67
.
Toggle Highlighting
SQL
use dewiki_p; SET sql_mode='PIPES_AS_CONCAT'; select '- [['||REPLACE(lt_title, '_', ' ')||']] <!-- '|| c ||' Links -->' as output from (select lt_title , count(*) as c , lt_namespace from pagelinks, linktarget where pl_from_namespace = 0 and pl_target_id = lt_id and lt_namespace = 0 group by lt_title, lt_namespace having count(*)>97) as lt left join page on (lt_title=page_title and page_namespace= lt_namespace) where page_id is null order by c 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...