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 medicine
by
Miriam (WMF)
This query is marked as a draft
This query has been published
by
Miriam (WMF)
.
Toggle Highlighting
SQL
SELECT itpage.page_title, itpage.page_id FROM page enpage INNER JOIN page article ON enpage.page_title=article.page_title INNER JOIN categorylinks ON cl_from = enpage.page_id AND categorylinks.cl_to = "WikiProject_Media_articles" INNER JOIN wikidatawiki_p.wb_items_per_site wikidata ON wikidata.ips_item_id IN ( SELECT ips_item_id from wikidatawiki_p.wb_items_per_site wikien WHERE ips_site_page=REPLACE(enpage.page_title,'_',' ') AND wikien.ips_site_id="enwiki") AND wikidata.ips_site_id IN ("itwiki") INNER JOIN itwiki_p.page itpage ON itpage.page_title= REPLACE(wikidata.ips_site_page,' ','_') WHERE enpage.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...