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
Mminovic
.
Toggle Highlighting
SQL
SELECT c.cat_title as category_name, GROUP_CONCAT(p.cat_title ORDER BY p.cat_title) as parent_categories FROM category c JOIN categorylinks cl ON cl.cl_from = c.cat_id JOIN category p ON cl.cl_to = p.cat_title WHERE c.cat_title = :category_name GROUP BY c.cat_title;
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...