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
USE wikidatawiki_p; DESCRIBE cswiki_p.wbc_entity_usage; SELECT COUNT(*) FROM cswiki_p.wbc_entity_usage; /* SELECT page_title, COUNT(DISTINCT eu_entity_id), COUNT(eu_aspect), eu_touched FROM cswiki_p.wbc_entity_usage JOIN cswiki_p.page ON page_id = eu_page_id GROUP BY eu_page_id ORDER BY COUNT(DISTINCT eu_entity_id) DESC LIMIT 50; */ SELECT * FROM wb_changes JOIN (SELECT * FROM user WHERE user_name = "Matěj Suchánek") AS user ON user.user_id = change_user_id # JOIN cswiki_p.wbc_entity_usage # ON eu_entity_id = CONCAT(UPPER(SUBSTRING(change_object_id,1,1)),SUBSTRING(change_object_id,2)) # JOIN cswiki_p.page # ON page_title = eu_page_id #GROUP BY page_title ORDER BY change_time DESC LIMIT 50; /* SELECT cs_entity_id, COUNT(cs_row_id) FROM wb_changes_subscription GROUP BY cs_entity_id ORDER BY COUNT(cs_row_id) DESC LIMIT 50;*/
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...