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
.
Find dab pairs with titles differing only in case, such as Can and CAN
Toggle Highlighting
SQL
SET STATEMENT max_statement_time = 1 FOR SELECT Pl.page_title, Pu.page_title FROM categorylinks Cl JOIN page Pl ON Pl.page_id = Cl.cl_from AND Pl.page_namespace = 0 AND Pl.page_title REGEXP "/^[A-Z][a-z]+(_\\(disambiguation\\))?$/" JOIN page Pu ON Pu.page_namespace = 0 AND Pu.page_title = UPPER(Pl.page_title) JOIN categorylinks Cu ON Cu.cl_from = Pu.page_id AND Cu.cl_type = 'page' AND Cu.cl_to = "All_disambiguation_pages" WHERE Cl.cl_type = 'page' AND Cl.cl_to = "All_disambiguation_pages" LIMIT 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...