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
Snævar
.
Toggle Highlighting
SQL
select i.page_title, d.ips_site_page from iswiki_p.page i join wikidatawiki_p.wb_items_per_site a on a.ips_site_id = "iswiki" and a.ips_site_page = replace(i.page_title, "_", " ") join wikidatawiki_p.wb_items_per_site b on b.ips_site_id = "enwiki" and a.ips_item_id = b.ips_item_id join enwiki_p.page e on e.page_title = b.ips_site_page and e.page_namespace = 14 join enwiki_p.categorylinks c on c.cl_from = e.page_id join wikidatawiki_p.wb_items_per_site f on f.ips_site_id = "enwiki" and f.ips_site_page = replace(c.cl_to, "_", " ") join wikidatawiki_p.wb_items_per_site d on d.ips_site_id = "iswiki" and d.ips_item_id = f.ips_item_id where i.page_namespace = 14 and i.page_id not in ( select v.cl_from from iswiki_p.categorylinks v ) limit 50
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...