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
Foobar42fsm
.
Returns all the links to valid Wikipedia pages with the titles of the source and target page.
Toggle Highlighting
SQL
use enwiki_p; SELECT pl_from, pl_from_namespace, from_pages.page_title as pl_from_title, to_pages.page_id as pl_to, pl_namespace as pl_to_namespace, pl_title as pl_to_title FROM pagelinks, (SELECT * FROM page LIMIT 1000) as from_pages, (SELECT * FROM page LIMIT 1000) as to_pages WHERE pl_title = to_pages.page_title AND pl_namespace = to_pages.page_namespace AND pl_from = from_pages.page_id AND pl_from_namespace = from_pages.page_namespace;
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...