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
Adam02020
.
Toggle Highlighting
SQL
WITH RECURSIVE category_tree AS ( -- Start with the main category "Bioinformatyka" SELECT cl_from AS page_id FROM categorylinks WHERE cl_to = 'Bioinformatyka' UNION ALL -- Rekurencyjnie znajdź wszystkie podkategorie i ich artykuły SELECT cl.cl_from AS page_id FROM categorylinks cl JOIN category_tree ct ON cl.cl_to = (SELECT page_title FROM page WHERE page_id = ct.page_id AND page_namespace = 14) ) SELECT page.page_title FROM category_tree JOIN page ON page.page_id = category_tree.page_id WHERE page_namespace = 0; -- Pobieramy tylko artykuły (namespace = 0)
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...