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