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 * FROM wbt_type; SELECT I1.wbit_item_id, Lt1.wbxl_language, L1.wbx_text FROM wbt_item_terms AS I1 #JOIN wbt_item_terms AS I2 ON 1=1 JOIN wbt_term_in_lang AS L1 ON L1.wbtl_id = I1.wbit_term_in_lang_id JOIN wbt_text_in_lang AS Ltl1 ON Ltl1.wbxl_id = L1.wbtl_text_in_lang_id JOIN wbt_text AS Lt1 ON Lt1.wbx_id = Ltl1.wbxl_text_id JOIN wbt_term_in_lang AS D1 ON D1.wbtl_id = I1.wbit_term_in_lang_id JOIN wbt_text_in_lang AS Dtl1 ON Dtl1.wbxl_id = D1.wbtl_text_in_lang_id JOIN wbt_text AS Dt1 ON Dt1.wbx_id = Dtl1.wbxl_text_id WHERE L1.wbtl_type_id = 1 AND D1.wbtl_type_id = 2 AND Lt1.wbxl_language = Dt1.wbxl_language LIMIT 1; DESCRIBE wbt_item_terms; DESCRIBE wbt_term_in_lang; DESCRIBE wbt_type; DESCRIBE wbt_text_in_lang; DESCRIBE wbt_text;
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...