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
Certes
.
Toggle Highlighting
SQL
SELECT Pa.page_title AS redirect, rd_title AS target, GROUP_CONCAT(Ps.page_title, ", ") AS candidates FROM page Pa JOIN redirect ON rd_from=page_id LEFT JOIN page Ps ON Ps.page_namespace=0 AND Ps.page_title LIKE "A._%" AND CONVERT(Ps.page_title USING latin1) REGEXP REGEXP_REPLACE(Pa.page_title, '\\.', '[a-z]+') WHERE Pa.page_namespace=0 AND Pa.page_title LIKE "A._%" AND CONVERT(Pa.page_title USING latin1) REGEXP '^[A-Z]\\._[a-z]+$' AND Pa.page_is_redirect=1 GROUP BY redirect ORDER BY redirect
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...