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
XXN
.
Toggle Highlighting
SQL
USE svwiki_p; SELECT cl_to, COUNT(page_title) as pages FROM page join categorylinks on cl_from=page_id/* left JOIN (SELECT * FROM page_props WHERE pp_propname = 'wikibase_item') AS props ON pp_page = page_id*/ WHERE page_id in (SELECT DISTINCT cl_from from categorylinks WHERE cl_to like "Robotskapade_%") AND page_namespace = 0 AND page_is_redirect = 0 #AND pp_value is NULL and page_id not in (select m.ll_from from langlinks m where m.ll_lang="ceb") group BY cl_to having pages > 10 order by pages desc; /* SELECT page_title#cl_to, COUNT(page_title) as Npages, GROUP_CONCAT(page_title) FROM page join categorylinks on cl_from=page_id WHERE cl_to = "Robotskapade_Rumänienförgreningar" AND page_namespace = 0 AND page_is_redirect = 0 #AND pp_value is NULL and page_id not in (select m.ll_from from langlinks m where m.ll_lang="ceb") */
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...