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
Bdijkstra
.
Toggle Highlighting
SQL
USE nlwiktionary_p; SELECT pl.page_namespace AS ns, pl.page_title AS lct, rd_title /*pl.page_is_redirect*/ AS lcrd, pu.page_title AS uct, pu.page_is_redirect AS ucrd FROM page pl, page pu LEFT JOIN redirect ON rd_from=pl.page_id WHERE pl.page_namespace NOT IN (0, 1, 2, 3, 8, 9) AND pl.page_namespace=pu.page_namespace AND LENGTH(pl.page_title)=LENGTH(pu.page_title) AND CONVERT(pl.page_title USING UTF8MB4) REGEXP '^\\p{Ll}' AND CONVERT(pu.page_title USING UTF8MB4) REGEXP '^\\p{Lu}' AND (( CHAR_LENGTH(CONVERT(pl.page_title USING UTF8MB4))=1 AND pl.page_title=LOWER(CONVERT(pu.page_title USING UTF8MB4)) ) OR ( CHAR_LENGTH(CONVERT(pl.page_title USING UTF8MB4))>1 AND pl.page_title=CONCAT( LOWER(CONVERT(LEFT(pu.page_title,1) USING UTF8MB4)), RIGHT(CONVERT(pu.page_title USING UTF8MB4),CHAR_LENGTH(CONVERT(pu.page_title USING UTF8MB4))-1) ) )) HAVING lcrd=0 AND ucrd=0 ORDER BY ns, lct
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...