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 AND rd_namespace = 102 AND rd_title = ax.page_title INNER JOIN revision ON a.page_id = rev_page WHERE a.page_is_redirect AND ax.page_is_redirect = 0 GROUP BY a.page_id HAVING COUNT(*) > 1;
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...