Replicas browser and optimizer
Wikidata items without Latvian label [new]
This query is marked as a draft
This query has been published
use wikidatawiki_p; select ips_item_id, ips_site_page, (select term_text from wb_terms where i.ips_item_id = term_entity_id and term_language='en' and term_type='label' limit 1) as 'en' from wb_items_per_site i #join wb_terms on ips_item_id = term_entity_id and term_type = "label" where i.ips_site_id='arwiki' and not exists (select term_entity_id from wb_terms where i.ips_item_id = term_entity_id and term_type = "label" and term_language='ar' limit 1) group by ips_item_id limit 5000;
By running queries you agree to the
and you irrevocably agree to release your SQL under
All SQL code is licensed under
Checking query status...
Report a bug!
Wikimedia Cloud VPS
, written in