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
Huji
.
Toggle Highlighting
SQL
SELECT actor_name, STR_TO_DATE(LEFT(MIN(rev_timestamp), 8), '%Y%m%d'), SUM( CASE WHEN rev_len BETWEEN 0 AND 2048 THEN 1 ELSE 0 END ), SUM( CASE WHEN rev_len BETWEEN 2048 AND 15 * 1024 THEN 1 ELSE 0 END ), SUM( CASE WHEN rev_len BETWEEN 15 * 1024 AND 70 * 1024 THEN 1 ELSE 0 END ), SUM( CASE WHEN rev_len > 70 * 1024 THEN 1 ELSE 0 END ), COUNT(rev_first) tot FROM revision_userindex r JOIN ( SELECT MIN(rev_id) rev_first, rev_page FROM revision GROUP BY rev_page ) f ON r.rev_id = f.rev_first JOIN page ON page_id = r.rev_page JOIN actor ON rev_actor = actor_id LEFT JOIN user_groups on actor_user = ug_user AND ug_group = "bot" WHERE actor_user <> 0 AND ug_group IS NULL AND page_namespace = 0 AND page_is_redirect = 0 GROUP BY actor_user ORDER BY tot DESC LIMIT 200
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...