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
Gerges
.
Toggle Highlighting
SQL
select tr.rd_namespace, tr.rd_title, tp.page_namespace, tp.page_title, sp.page_namespace, group_concat(sp.page_title separator ',') from redirect sr join page sp on sp.page_id = sr.rd_from and sp.page_is_redirect = 1 join page tp on tp.page_title = sr.rd_title and tp.page_namespace = sr.rd_namespace and tp.page_is_redirect = 1 join redirect tr on tr.rd_from = tp.page_id where sp.page_namespace not in (2, 3) or tp.page_namespace != sp.page_namespace group by tp.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...