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 the top 100 categories available in most languages/wikipedias, but not in ckbwiki USE ckbwiki_p; SELECT ll_title AS category FROM langlinks WHERE ll_lang != 'ckb' -- Exclude ckbwiki AND ll_title LIKE 'Category:%' -- Select only categories GROUP BY ll_title HAVING COUNT(DISTINCT ll_lang) = (SELECT COUNT(DISTINCT ll_lang) FROM langlinks WHERE ll_title LIKE 'Category:%' AND ll_lang != 'ckb' GROUP BY ll_title ORDER BY COUNT(DISTINCT ll_lang) DESC LIMIT 1) 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...