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
Certes
.
Toggle Highlighting
SQL
SELECT CL1.cl_to, CL2.cl_to FROM categorylinks CL1 JOIN page P1 ON P1.page_namespace=14 AND P1.page_title=CL1.cl_to JOIN categorylinks CL2 ON CL2.cl_from=P1.page_id AND CL2.cl_type='subcat' AND CL2.cl_to >= CL1.cl_to JOIN page P2 ON P2.page_namespace=14 AND P2.page_title=CL2.cl_to AND P2.page_id=CL1.cl_from WHERE CL1.cl_type='subcat'
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...