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
Dstogian
.
Toggle Highlighting
SQL
USE wikidatawiki_p; SELECT term_full_entity_id, term_text, COUNT(eu_page_id) AS ct FROM (SELECT * FROM wb_terms WHERE term_language = 'gr' AND term_type = 'label' AND term_text LIKE '% (%)' AND term_text NOT LIKE '%:%' AND term_text NOT LIKE '%)%(%') AS labels LEFT JOIN cswiki_p.wbc_entity_usage ON eu_entity_id = term_full_entity_id AND eu_aspect = 'L.gr' GROUP BY term_full_entity_id, term_text ORDER BY ct DESC, term_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...