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
Zhuyifei1999
.
Toggle Highlighting
SQL
USE commonswiki_p; SELECT pa.page_namespace AS namespace, pa.page_title AS title, pa.page_title AS value, pb.page_namespace AS nsb, pb.page_title AS tb, rb.rd_namespace AS nsc, rb.rd_title AS tc, rb.rd_interwiki AS iwc FROM redirect ra, redirect rb, page pa, page pb WHERE ra.rd_from = pa.page_id AND (ra.rd_interwiki IS NULL OR ra.rd_interwiki = '') AND pb.page_namespace = ra.rd_namespace AND pb.page_title = ra.rd_title AND rb.rd_from = pb.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...