Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
List category contents, including subcats
by
Suriname0
This query is marked as a draft
This query has been published
by
Suriname0
.
Toggle Highlighting
SQL
WITH RECURSIVE ancestors AS ( SELECT * FROM page p JOIN categorylinks cl ON cl.cl_from = p.page_id AND cl.cl_type = "subcat" UNION [all] SELECT p.* FROM page p, ancestors as a WHERE p.page_title = a.page_title ) SELECT * FROM ancestors LIMIT 10;
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...