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
Danilo.mac
.
Toggle Highlighting
SQL
USE ptwiki_p; SELECT CONCAT('Anexo:', REPLACE(ax.page_title, '_', ' ')) Anexos FROM page a INNER JOIN page ax ON a.page_title = ax.page_title AND a.page_namespace = 0 AND ax.page_namespace = 102 INNER JOIN redirect ON rd_from = a.page_id WHERE NOT ax.page_is_redirect AND (rd_namespace != 102 OR rd_title != ax.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...