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 enwiki_p; WITH TopCategories AS ( SELECT COUNT(*) AS category_count, ll_title AS category_title FROM langlinks WHERE ll_from IN (SELECT page_id FROM categorylinks WHERE cl_to = 'Hidden_categories') GROUP BY ll_title HAVING category_count > 2 ORDER BY category_count DESC LIMIT 100 ) SELECT TOP 100 category_title FROM TopCategories LEFT JOIN langlinks ON TopCategories.category_title = langlinks.ll_title WHERE ll_lang = 'en' AND ll_from NOT IN (SELECT page_id FROM categorylinks WHERE cl_to = 'Hidden_categories') AND ll_title NOT IN ('Category:Hidden categories', 'Q4048908', 'پۆل:پۆلە_شاردراوەکان');
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...