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
Jheald
.
Commons categories with interwikis but no Wikidata sitelink
Toggle Highlighting
SQL
USE commonswiki_p; #SELECT p.page_title AS cat_name, GROUP_CONCAT(ll_lang) AS interwikis SELECT p.page_title AS cat_name, ll.ll_title AS interwiki FROM page AS p JOIN langlinks AS ll ON ll.ll_from = p.page_id AND ll.ll_lang = 'en' LEFT JOIN page_props AS pp ON pp.pp_page = p.page_id AND pp.pp_propname = 'wikibase_item' WHERE p.page_namespace=14 AND pp.pp_value IS NULL #GROUP BY p.page_title LIMIT 10000
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...