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
Snævar
.
Toggle Highlighting
SQL
select e.page_title as cat1, a.cl_to as cat2, d.page_title, d.page_namespace, count(d.page_title) from page e join categorylinks a on e.page_id = a.cl_from join categorylinks b on b.cl_to = e.page_title join categorylinks c on b.cl_from = c.cl_from and c.cl_to = a.cl_to join page d on b.cl_from = d.page_id where e.page_namespace = 14 and d.page_namespace != 2 group by cat2
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...