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
Bdijkstra
.
Toggle Highlighting
SQL
SELECT REPLACE(page_title,'_',' ') AS page_title, links, REPLACE(rd_title,'_',' ') AS rd_title, rd_fragment FROM page p LEFT JOIN redirect ON page_id=rd_from AND rd_interwiki='' LEFT JOIN (SELECT pf.page_id, COUNT(*) AS links FROM pagelinks, page pf WHERE pl_title=pf.page_title AND pf.pl_namespace=0) pl ON p.page_id=pl.page_id WHERE page_namespace=0 AND page_title REGEXP '_sp\\.$' GROUP BY page_id ORDER BY page_title
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...