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
-- Get 100 categories that exist in most Wikipedias (including English) but not in ckbwiki SELECT DISTINCT category FROM categorylinks WHERE cl_to NOT IN ( -- Subquery to find categories in ckbwiki SELECT DISTINCT cl_to FROM categorylinks WHERE cl_from_namespace = 0 AND cl_from = page_id AND cl_to NOT LIKE 'All articles%' ) AND cl_to NOT LIKE 'All articles%' AND cl_to NOT LIKE 'All stubs%' AND cl_to NOT LIKE 'Main topic%' AND cl_to NOT LIKE 'Wikipedia%' AND cl_to NOT LIKE 'Wikipedians%' AND cl_to NOT LIKE 'Articles%' 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...