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
SELECT eu_entity_id, GROUP_CONCAT(eu_aspect SEPARATOR ',') AS debug, IF(GROUP_CONCAT(DISTINCT eu_aspect SEPARATOR ',') = 'L.sk', 'sk', 'en') AS aspect, COUNT(DISTINCT cl_from) AS amount FROM wbc_entity_usage JOIN categorylinks ON cl_from = eu_page_id WHERE cl_to = 'Údržba:Doplnit_štítek_na_Wikidatech' AND eu_aspect IN ('L.sk', 'L.en') AND eu_entity_id LIKE 'Q%' GROUP BY eu_entity_id ORDER BY amount DESC LIMIT 1000;
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...