Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
English Wikipedia articles size in megabytes
by
Emijrp
This query is marked as a draft
This query has been published
by
ԱշոտՏՆՂ
.
Toggle Highlighting
SQL
USE wikidatawiki_p; SELECT CONCAT('Q', L1wbit.wbit_item_id) AS item1, CONCAT('Q', L2wbit.wbit_item_id) AS item2, Lxl.wbxl_language, (SELECT wbx_text FROM wbt_text WHERE wbx_id = Lxl.wbxl_text_id) AS label, (SELECT wbx_text FROM wbt_text WHERE wbx_id = Dxl.wbxl_text_id) AS descr FROM wbt_item_terms AS L1wbit 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_text_in_lang AS Lxl ON Lxl.wbxl_id = L1wbtl.wbtl_text_in_lang_id JOIN wbt_item_terms AS D1wbit ON D1wbit.wbit_item_id = L1wbit.wbit_item_id JOIN wbt_term_in_lang AS D1wbtl ON D1wbtl.wbtl_id = D1wbit.wbit_term_in_lang_id #JOIN wbt_type AS Dy ON Dy.wby_id = D1wbtl.wbtl_type_id JOIN wbt_text_in_lang AS Dxl ON Dxl.wbxl_id = D1wbtl.wbtl_text_in_lang_id JOIN wbt_item_terms AS L2wbit ON L2wbit.wbit_term_in_lang_id = L1wbtl.wbtl_id JOIN wbt_item_terms AS D2wbit ON D2wbit.wbit_term_in_lang_id = D1wbtl.wbtl_id #WHERE Ly.wby_name = 'label' AND Dy.wby_name = 'description' WHERE L1wbtl.wbtl_type_id = 1 AND D1wbtl.wbtl_type_id = 2 AND Lxl.wbxl_language = Dxl.wbxl_language #AND Lxl.wbxl_language = 'cs' AND L2wbit.wbit_item_id = D2wbit.wbit_item_id AND L1wbit.wbit_item_id < L2wbit.wbit_item_id LIMIT 5;
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...