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
Danski454
.
Toggle Highlighting
SQL
USE enwiki_p; SELECT source.page_title, source.page_namespace, target.page_title, target.page_namespace FROM redirect redir INNER JOIN page target ON redir.rd_title = target.page_title and redir.rd_namespace = target.page_namespace INNER JOIN page source ON redir.rd_from = source.page_id INNER JOIN pagelinks l ON l.pl_from = target.page_id and l.pl_namespace = source.page_namespace and l.pl_title = source.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...