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
Oi3laech
.
Toggle Highlighting
SQL
SET STATEMENT max_statement_time = 1200 FOR with bots as ( SELECT ug_user FROM user_groups WHERE ug_group="bot" ) SELECT a.actor_user IS NOT NULL is_registered_user, b.ug_user IS NOT NULL is_bot, COUNT(1) revisions, COUNT(distinct actor_id) actors FROM revision_userindex r LEFT JOIN actor_revision a ON a.actor_id = r.rev_actor LEFT JOIN bots b ON b.ug_user = a.actor_user WHERE rev_timestamp BETWEEN 20190000000000 AND 20199999999999 GROUP BY 1,2 ORDER BY NULL
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...