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
JStrieb
.
Toggle Highlighting
SQL
WITH RECURSIVE traverse (page_id, page_title, page_namespace, page_id_of_parent, page_namespace_of_parent, depth) AS ( SELECT p0.page_id, p0.page_title, p0.page_namespace, 0, -1, 0 FROM page p0 WHERE p0.page_title='Computer_engineering' AND p0.page_namespace=14 UNION DISTINCT SELECT p1.page_id, p1.page_title, p1.page_namespace, t1.page_id, t1.page_namespace, t1.depth+1 FROM traverse t1 INNER JOIN categorylinks cl1 ON t1.page_title=cl1.cl_to INNER JOIN page p1 ON p1.page_id=cl1.cl_from WHERE t1.page_namespace=14 AND t1.depth<3 ) SELECT page_id AS enwiki_page_id, page_title AS skill_name, page_namespace, depth, page_id_of_parent AS enwiki_page_id_of_parent, page_namespace_of_parent FROM traverse;
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...