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
SELECT COUNT(page_title) AS 'count', pi.cl_to AS cat FROM categorylinks wdnow, page LEFT JOIN categorylinks pi ON (pi.cl_to REGEXP '^Plaats_in_|_van_' AND pi.cl_from=page_id) WHERE wdnow.cl_to='Wikipedia:Desacode_niet_op_Wikidata' AND wdnow.cl_from=page_id AND page_namespace=0 GROUP BY page_title ORDER BY page_title ; SELECT page_title, wdnow.cl_sortkey_prefix AS sort, pi.cl_to AS cat FROM categorylinks wdnow, page LEFT JOIN categorylinks pi ON (pi.cl_to REGEXP '^Plaats_in_|_van_' AND pi.cl_from=page_id) WHERE wdnow.cl_to='Wikipedia:Desacode_niet_op_Wikidata' AND wdnow.cl_from=page_id AND page_namespace=0 ORDER BY wdnow.cl_sortkey_prefix, page_title
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...