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
.
1st by desa code, 2nd by category
Toggle Highlighting
SQL
SELECT page_title, pp_value AS 'item', REPLACE(cl_sortkey_prefix,' ','') AS 'desacode' FROM categorylinks, page LEFT JOIN page_props ON page_id=pp_page AND pp_propname='wikibase_item' WHERE cl_to='Wikipedia:Indonesische_plaats_naar_code' AND cl_from=page_id AND page_namespace=0 AND cl_sortkey_prefix REGEX '^35' 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...