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
PleaseStand
.
Toggle Highlighting
SQL
select page1.page_namespace, page1.page_title, page2.page_namespace, page2.page_title from page page1 join redirect on page1.page_id = rd_from join page page2 on rd_namespace = page2.page_namespace and rd_title = page2.page_title join pagelinks on page2.page_id = pl_from where page1.page_is_redirect = 1 and page1.page_namespace = 0 and page1.page_len >= 0 and rd_namespace = 0 and ( rd_fragment = '' or rd_fragment is null ) and pl_namespace = page1.page_namespace and pl_title = page1.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...