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) AS item_id, wbxl_language, (SELECT wbx_text FROM wbt_text WHERE wbx_id = wbxl_text_id) AS text FROM wbt_item_terms AS L1wbit JOIN wbt_item_terms AS D1wbit ON D1wbit.wbit_item_id = L1wbit.wbit_item_id JOIN wbt_term_in_lang AS L1wbtl ON L1wbtl.wbtl_id = L1wbit.wbit_term_in_lang_id JOIN wbt_type AS Ly ON Ly.wby_id = L1wbtl.wbtl_type_id JOIN wbt_item_terms AS Dwbit ON Dwbit.wbit_item_id = Lwbit.wbit_item_id JOIN wbt_term_in_lang AS Dwbtl ON Dwbtl.wbtl_id = Dwbit.wbit_term_in_lang_id JOIN wbt_type AS Dy ON Dy.wby_id = Dwbtl.wbtl_type_id JOIN wbt_text_in_lang ON wbxl_id = Dwbtl.wbtl_text_in_lang_id #JOIN wbt_text ON wbx_id = wbxl_text_id WHERE Ly.wby_name = 'label' AND Dy.wby_name = 'description' AND Lwbtl.wbtl_text_in_lang_id = Dwbtl.wbtl_text_in_lang_id */ DESCRIBE wbt_term_in_lang;
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...