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
Rpi153
.
Toggle Highlighting
SQL
SELECT pl.page_namespace, pl.page_title, pt.page_namespace, pt.page_title FROM templatelinks INNER JOIN linktarget ON lt_id=tl_target_id INNER JOIN page pt ON tl_from = pt.page_id INNER JOIN page pl ON lt_namespace = pl.page_namespace AND lt_title = pl.page_title WHERE (pl.page_namespace, pl.page_title) IN (SELECT p.page_namespace, p.page_title FROM page p INNER JOIN redirect r ON r.rd_from = p.page_id WHERE p.page_namespace != r.rd_namespace AND p.page_namespace NOT IN (2, 3))
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...