Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Wikidata dispatch users (newest)
by
Lucas Werkmeister (WMDE)
This query is marked as a draft
This query has been published
by
Lucas Werkmeister (WMDE)
.
Users with most edits to be dispatched from Wikidata, looking at the oldest 10000 undispatched edits.
Toggle Highlighting
SQL
USE `wikidatawiki_p`; SELECT `user_id`, `user_name`, COUNT(DISTINCT `change_id`) AS `count` FROM ( SELECT DISTINCT `change_user_id`, `change_id` FROM `wb_changes` LEFT JOIN `wb_changes_subscription` ON `cs_entity_id` = `change_object_id` AND `change_id` >= (SELECT `chd_seen` FROM `wb_changes_dispatch` ORDER BY `chd_seen` ASC LIMIT 1) ORDER BY `change_id` ASC LIMIT 10000 ) AS `change_users` JOIN `user` ON `change_user_id` = `user_id` GROUP BY `user_id`, `user_name` ORDER BY `count` DESC LIMIT 10
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...