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
Jheald
.
Sub-sub-categories of a Commons category, and the categories they are in
Toggle Highlighting
SQL
use commonswiki_p; SELECT page_title, GROUP_CONCAT(c2.cl_to SEPARATOR ' / ') AS cats FROM categorylinks AS c1 JOIN page ON c1.cl_from=page_id JOIN categorylinks AS c2 ON c2.cl_from=page_id WHERE c1.cl_to='Civil_parishes_of_England' GROUP BY page_title 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...