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
Balyozxane
.
Toggle Highlighting
SQL
SELECT ll.ll_title AS ku_page_title FROM page INNER JOIN categorylinks AS cl ON cl.cl_from = page.page_id INNER JOIN page AS subpage ON subpage.page_id = cl.cl_to INNER JOIN langlinks AS ll ON ll.ll_from = subpage.page_id AND ll.ll_lang = 'ku' WHERE page.page_namespace IN (0,10) AND ( cl.cl_to = 'States_and_territories_by_millennium_of_establishment' OR cl.cl_to IN ( SELECT DISTINCT cl_from FROM categorylinks WHERE cl_to = 'States_and_territories_by_millennium_of_establishment' ) ) GROUP BY ku_page_title ORDER BY ku_page_title LIMIT 10000;
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...