Fork of olika betydelser 2 in Wikidata by XXN
This query is marked as a draft This query has been published by XXN.

SQL

AخA
 
USE wikidatawiki_p;
SELECT CONCAT('# [[',ips_site_page,']]'), CONCAT(' \\ [[Q',ips_item_id,']]'), count(ips_site_id)
FROM wb_items_per_site
WHERE ips_item_id in (select n.ips_item_id from wb_items_per_site n 
                      where ips_site_id = "svwiki" and ips_site_page like "%olika betydelser%")
and ips_site_page in (SELECT REPLACE(sp.page_title, '_', ' ') FROM svwiki_p.page sp
        WHERE sp.page_namespace = 0 AND sp.page_is_redirect = 1 and sp.page_title like "%betydelser%")
group by ips_item_id
By running queries you agree to the Cloud Services Terms of Use and you irrevocably agree to release your SQL under CC0 License.
All SQL code is licensed under CC0 License.

Checking query status...