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
Chriswolfram
.
Toggle Highlighting
SQL
WITH edges AS ( SELECT cl_from AS ref_child_id, page_id AS ref_parent_id FROM categorylinks INNER JOIN page ON cl_to=page_title AND page_namespace=14 ) SELECT * FROM edges UNION SELECT e1.ref_child_id AS ref_child_id, e2.ref_parent_id AS ref_parent_id FROM edges e1, edges e2 WHERE e1.ref_parent_id = e2.ref_child_id AND e2.ref_parent_id = 692318 LIMIT 100;
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...