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
Mike.Khoroshun
.
Toggle Highlighting
SQL
SELECT CONCAT('Q', ips.ips_item_id) AS wikidata_item_id, COUNT(*) AS links, ips_en.ips_site_page as enwiki_article, CONCAT('https://en.wikipedia.org/wiki/', ips_en.ips_site_page) AS enwiki_article_link, FROM wb_items_per_site ips JOIN wb_items_per_site ips_en ON ips_en.ips_item_id = ips.ips_item_id AND ips_en.ips_site_id = "enwiki" WHERE ips.ips_site_id LIKE '%wiki' AND ips_en.ips_site_page NOT REGEXP '^(Category|Template|Module|MediaWiki|Help|Portal|Wikipedia)' GROUP BY ips.ips_item_id HAVING COUNT(CASE WHEN ips.ips_site_id = 'ukwiki' THEN 1 END) < 1 AND COUNT(CASE WHEN ips.ips_site_id = 'enwiki' THEN 1 END) > 0 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...