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 wikidatawiki_p; SELECT CONCAT('Q', Lwbit.wbit_item_id), Lx.wbx_text AS label, Dx.wbx_text AS description FROM wbt_item_terms AS Lwbit JOIN wbt_term_in_lang AS Lwbtl ON Lwbit.wbit_term_in_lang_id = Lwbtl.wbtl_id JOIN wbt_type AS Ly ON Lwbtl.wbtl_type_id = Ly.wby_id JOIN wbt_text_in_lang AS Lwbxl ON Lwbtl.wbtl_text_in_lang_id = Lwbxl.wbxl_id JOIN wbt_text AS Lx ON Lwbxl.wbxl_text_id = Lx.wbx_id JOIN wbt_item_terms AS Dwbit ON Dwbit.wbit_item_id = Lwbit.wbit_item_id LEFT JOIN wbt_term_in_lang AS Dwbtl ON Dwbtl.wbtl_id = Dwbit.wbit_term_in_lang_id LEFT JOIN wbt_type AS Dy ON Dy.wby_id = Dwbtl.wbtl_type_id AND Dy.wby_name = 'description' LEFT JOIN wbt_text_in_lang AS Dwbxl ON Dwbxl.wbxl_id = Dwbtl.wbtl_text_in_lang_id AND Dwbxl.wbxl_language = Lwbxl.wbxl_language LEFT JOIN wbt_text AS Dx ON Dx.wbx_id = Dwbxl.wbxl_text_id WHERE Ly.wby_name = 'label' AND Lwbxl.wbxl_language = 'cs' AND Lx.wbx_text LIKE '% (%)' AND Lx.wbx_text NOT LIKE '%:%' AND Lx.wbx_text NOT LIKE '%)%(%' LIMIT 1;
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...