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
Jura1
.
Toggle Highlighting
SQL
use wikidatawiki_p; SELECT CURRENT_DATE; DESCRIBE wb_terms; SELECT DISTINCT term_entity_type from wb_terms; SELECT * from wb_terms WHERE term_entity_id = 5 AND term_language = 'en' LIMIT 10; # SELECT term_entity_type, count(*) FROM wb_terms GROUP BY term_entity_type; SELECT term_type, count(*) FROM wb_terms GROUP BY term_type; # SELECT term_language, count(*) FROM wb_terms GROUP BY term_language; SELECT term_text, count(*) from wb_terms where term_entity_type = 'item' AND term_language = 'en' AND term_type = 'description' GROUP BY term_text ORDER BY count(*) DESC LIMIT 75
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...