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
Ghuron
.
Take wikidata links from [[meta:List of articles every Wikipedia should have/Expanded]] and show those who either have no ru-wiki article, or have redirect
Toggle Highlighting
SQL
use wikidatawiki_p; select cast(coalesce(x.ips_site_page, z.ips_site_page) as char) coal, y.ips_item_id, y.cnt from (select ips_item_id, count(*) cnt from wb_items_per_site group by ips_item_id) y left join wb_items_per_site x on x.ips_item_id = y.ips_item_id and x.ips_site_id = 'ruwiki' left join wb_items_per_site z on z.ips_item_id = y.ips_item_id and z.ips_site_id = 'enwiki' order by y.cnt desc limit 100;
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...