This query is marked as a draft This query has been published by Matěj Suchánek.

SQL

AخA
 
USE cswiki_p;
SELECT eu_entity_id#, sk.term_text AS sk, en.term_text AS en
    FROM categorylinks
    JOIN wbc_entity_usage
        ON eu_page_id = cl_from
    LEFT JOIN wikidatawiki_p.wb_terms AS cs
        ON cs.term_full_entity_id = eu_entity_id AND cs.term_type = 'label' AND cs.term_language = 'cs'
    LEFT JOIN wikidatawiki_p.wb_terms AS sk
        ON sk.term_full_entity_id = eu_entity_id AND sk.term_type = 'label' AND sk.term_language = 'sk'
    LEFT JOIN wikidatawiki_p.wb_terms AS en
        ON en.term_full_entity_id = eu_entity_id AND en.term_type = 'label' AND en.term_language = 'en'
WHERE eu_aspect = 'L.en'
AND cl_to = 'Údržba:Doplnit_štítek_na_Wikidatech'
AND cs.term_text IS NULL
GROUP BY eu_entity_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...