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
Prototyperspective
.
Based on https://quarry.wmcloud.org/query/35360 by Huji
Toggle Highlighting
SQL
select page_namespace, page_title, cl_to from page join categorylinks on page_id = cl_from and cl_to in ( select cl_to from ( select cl_to, 100 * sum(case when page_namespace = 0 then 1 else 0 end) / count(*) as proportion from categorylinks join page on page_id = cl_from group by cl_to ) t where t.proportion > 50 and t.proportion < 100 ) where page_namespace <> 0 and page_is_redirect = 0 and page_namespace = 1 limit 500
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...