This query is marked as a draft This query has been published by Zygimantus.

SQL

AخA
 
SELECT page_title, ips_item_id
FROM ltwiki.categorylinks
INNER JOIN ltwiki_p.page ON cl_from = page_id
LEFT JOIN wikidatawiki_p.wb_items_per_site ON ips_site_page = REPLACE(page_title, '_', ' ') AND ips_site_id = 'ltwiki'
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...