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
~aanzx
.
Toggle Highlighting
SQL
USE knwiki_p; WITH RECURSIVE subcategories AS ( SELECT cl_from AS subcat_id FROM categorylinks WHERE cl_to = 'ವರ್ಷಗಳ_ಪ್ರಕಾರ_ಕನ್ನಡ_ಚಲನಚಿತ್ರಗಳು' AND cl_type = 'subcat' UNION ALL SELECT cl_from FROM categorylinks JOIN subcategories ON cl_to = page_title WHERE cl_type = 'subcat'),pages_in_subcategories AS ( SELECT page_id, page_title FROM page JOIN categorylinks ON cl_from = page_id WHERE cl_from IN ( SELECT subcat_id FROM subcategories) AND page_namespace = 0) SELECT CONCAT('https://kn.wikipedia.org/wiki/', REPLACE(page_title, ' ', '_')) AS page_link FROM pages_in_subcategories;
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...