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
Bennylin
.
https://wikitech.wikimedia.org/wiki/Help:MySQL_queries#Cross-namespace_redirects
Toggle Highlighting
SQL
use idwiki_p; SELECT pf.page_namespace, pf.page_title, rd_title FROM redirect, page AS pf, page AS pt WHERE pf.page_namespace != 0 AND pt.page_namespace = 0 AND rd_title = pt.page_title AND rd_namespace = pt.page_namespace AND rd_from = pf.page_id
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...