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
-- Find the top 100 categories available in most languages, excluding "ckbwiki," and not members of "Category:Hidden_categories" on "enwiki" SELECT DISTINCT c1.cat_title AS category_title FROM categorylinks AS c1 JOIN langlinks AS ll ON c1.cat_title = ll.ll_title LEFT JOIN categorylinks AS c2 ON c1.cat_title = c2.cl_to AND c2.cl_to = 'Hidden_categories' WHERE c1.cl_type = 'page' AND c1.cat_title NOT IN ( SELECT DISTINCT cl_to FROM categorylinks WHERE cl_type = 'page' ) AND c1.cat_title NOT IN ( SELECT DISTINCT ll_title FROM langlinks WHERE ll_lang = 'ckbwiki' ) AND c2.cl_to IS NULL 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...