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
Matěj Suchánek
.
Toggle Highlighting
SQL
USE cswiki_p; SELECT eu_entity_id, GROUP_CONCAT(page_title SEPARATOR '#') FROM wbc_entity_usage JOIN categorylinks ON cl_from = eu_page_id JOIN page ON page_id = cl_from #LEFT JOIN wikidatawiki_p.wbt_item_terms ON wbit_item_id = REPLACE(eu_entity_id, 'Q', '') #LEFT JOIN wikidatawiki_p.wbt_term_in_lang ON wbit_term_in_lang_id = wbtl_id #LEFT JOIN wikidatawiki_p.wbt_type ON wbtl_type_id = wby_id AND wby_name = 'label' #LEFT JOIN wikidatawiki_p.wbt_text_in_lang ON wbtl_text_in_lang_id = wbxl_id AND wbxl_language = 'cs' #LEFT JOIN wikidatawiki_p.wbt_text ON wbxl_text_id = wbx_id WHERE eu_aspect = 'L.sk' AND cl_to = 'Údržba:Doplnit_štítek_na_Wikidatech' AND page_namespace = 0 AND eu_entity_id LIKE 'Q%' GROUP BY eu_entity_id ORDER 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
.
Submit Query
Stop Query
All SQL code is licensed under
CC0 License
.
Checking query status...