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 Pu.page_title, rd_title,CONCAT(SUBSTR(Pu.page_title,1,1),"*",LOWER(BINARY SUBSTR(Pu.page_title,2)),"%") FROM page Pu JOIN redirect ON rd_from = Pu.page_id AND rd_namespace = 0 AND rd_title REGEXP BINARY "_\\(disambiguation\\)$" AND rd_title NOT LIKE CONCAT(SUBSTR(Pu.page_title,1,1),LOWER(BINARY SUBSTR(Pu.page_title,2)),"%") WHERE page_is_redirect = 1 AND Pu.page_namespace = 0 AND Pu.page_title REGExP BINARY "^[A-Z][A-Z][A-Z]$" /*AND NOT EXISTS (SELECT 1 FROM page Pl WHERE Pl.page_namespace = 0 AND Pl.page_title = CONCAT(SUBSTR(Pu.page_title,1,1),LOWER(SUBSTR(Pu.page_title,2)))) ORDER BY Pu.page_title*/LIMIT 10;
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...