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 nlwiki_p; SELECT CONCAT('[[:', CONVERT(REPLACE(a.page_title,'_',' ') USING UTF8MB4), ']]') AS title, CONVERT(cl_sortkey_prefix USING UTF8MB4) AS sortkey, LENGTH(cl_sortkey_prefix) AS 'strlen(sortkey)' FROM (page a, page c) LEFT JOIN categorylinks ON (a.page_id=cl_from AND c.page_title=cl_to) WHERE a.page_namespace=0 AND c.page_namespace=14 AND a.page_title=c.page_title HAVING BINARY(sortkey)='' OR LEFT(sortkey, 1) NOT IN (' ', '*') LIMIT 25
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...