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
Krinkle
.
Targets the public replica databases for "en.wikipedia.org".
Toggle Highlighting
SQL
-- Links from civ articles to elsewhere -- SELECT pl_title as _title FROM pagelinks WHERE pl_from IN ( SELECT page_id FROM page WHERE page_namespace = 0 AND page_title IN ('Ptolemaic_Kingdom', 'Achaemenid_Empire', 'Celtic_Britons', 'Gaul', 'Iberians', 'Maurya_Empire') ) AND pl_title LIKE '%X' UNION -- -- Links from elsewhere to civ articles -- SELECT page_title as _title FROM page WHERE page_id IN ( SELECT pl_from FROM pagelinks WHERE pl_namespace = 0 AND pl_title IN ('Ptolemaic_Kingdom', 'Achaemenid_Empire', 'Celtic_Britons', 'Gaul', 'Iberians', 'Maurya_Empire') ) AND page_title LIKE 'X%';
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...