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
Msz2001
.
Toggle Highlighting
SQL
SET @category := 'Informatyka'; SET @depth_limit := 10; WITH RECURSIVE subcategories(sbc_title, sbc_depth) AS ( SELECT @category, 0 FROM DUAL UNION ALL SELECT page_title, sbc_depth+1 FROM subcategories JOIN categorylinks ON cl_to = sbc_title JOIN page ON cl_from = page_id WHERE cl_type = 'subcat' AND sbc_depth <= @depth_limit ) SELECT page_title, fpp_pending_since, cl_to FROM flaggedpage_pending JOIN categorylinks ON fpp_page_id = cl_from JOIN subcategories ON sbc_title = cl_to JOIN page ON fpp_page_id = page_id 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...