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
WilliamSotoM
.
Toggle Highlighting
SQL
use wikidatawiki_p; #show tables; #show COLUMNS FROM wbt_term_in_lang; #SELECT wbtl_id, wbtl_type_id, wbtl_text_in_lang_id from wbt_term_in_lang LIMIT 5; #show COLUMNS FROM wbt_property_terms; #SELECT wbpt_id, wbpt_property_id, wbpt_term_in_lang_id FROM wbt_property_terms LIMIT 5; #show COLUMNS FROM wbt_item_terms; #SELECT wbit_id, wbit_item_id, wbit_term_in_lang_id FROM wbt_item_terms LIMIT 5; #show COLUMNS FROM wbt_text; #SELECT wbx_id, wbx_text FROM wbt_text LIMIT 5; SELECT CONCAT('P', term_entity_id), term_text from wbt_term_in_lang WHERE term_entity_type = 'property' AND term_language = 'en' and term_type = 'label' ORDER bY term_entity_id desc;
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...