Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Retrieve all articles in Wikiproject Geography
by
Miriam (WMF)
This query is marked as a draft
This query has been published
by
Miriam (WMF)
.
Toggle Highlighting
SQL
SELECT article.page_title, article.page_id FROM page INNER JOIN page article ON page.page_title=article.page_title INNER JOIN categorylinks ON cl_from = page.page_id AND categorylinks.cl_to = "WikiProject_Geography_articles" INNER JOIN wikidatawiki_p.wb_items_per_site ON wikidatawiki_p.wb_items_per_site.ips_item_id IN ( SELECT ips_item_id from wikidatawiki_p.wb_items_per_site WHERE ips_site_page=REPLACE(page.page_title,'_',' ') AND wikidatawiki_p.wb_items_per_site.ips_site_id="enwiki") AND wikidatawiki_p.wb_items_per_site.ips_site_id IN ("itwiki") WHERE page.page_namespace = 1 AND article.page_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...