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
Aram
.
Toggle Highlighting
SQL
USE wikidata_p; -- Use the Wikidata database -- Query to fetch categories available in most Wikipedias but not in ckbwiki SELECT DISTINCT item_id AS WikidataItem, term_full_entity_id AS CategoryEntityId FROM wb_items_per_site WHERE site = 'enwiki' AND term_entity_type = 'mediacounts-category' AND NOT EXISTS ( SELECT 1 FROM wb_items_per_site AS ckbwiki WHERE ckbwiki.site = 'ckbwiki' AND ckbwiki.term_entity_type = 'mediacounts-category' AND ckbwiki.item_id = wb_items_per_site.item_id ) LIMIT 100;
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...