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
SELECT * FROM wikidatawiki_p.wb_items_per_site INNER JOIN metawiki_p.iwlinks ON ips_item_id=TRIM('Q' FROM iwl_title) INNER JOIN ruwiki_p.page ON page_title=ips_site_page WHERE iwl_from=141462 AND iwl_prefix='d' AND ips_site_id="ruwiki" AND is_redirect=1 LIMIT 10 #TRIM('Q' FROM iwl_title) from metawiki_p.iwlinks where iwl_from=141462 and iwl_prefix='d' LIMIT 10; #select * from wikidatawiki_p.wb_items_per_site limit 10;
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...