Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
test2
by
Achim55
This query is marked as a draft
This query has been published
by
Achim55
.
Toggle Highlighting
SQL
USE dewikivoyage_p; SELECT CONCAT('* [[', REPLACE(p1.page_title,'_',' '), ']]') AS orphans FROM page p1 INNER JOIN pagelinks ON pl_from = p1.page_id AND pl_from_namespace = 0 AND (SELECT COUNT(*) FROM pagelinks WHERE pl_from = p1.page_id) = 1 WHERE p1.page_namespace = 0 AND p1.page_is_redirect = 1 AND NOT EXISTS (SELECT 1 FROM page p2 WHERE p2.page_title = pl_title) GROUP BY orphans 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...