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
with bots as ( SELECT ug_user FROM user_groups WHERE ug_group="bot" ) , actor_revisions as ( SELECT r.rev_actor, a.actor_user IS NOT NULL is_registered_user, b.ug_user IS NOT NULL is_bot, COUNT(1) revisions, count(case when r.rev_minor_edit then 1 end) minor_revisions 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 >= 20110000000000 GROUP BY 1,2,3 ) SELECT is_registered_user, is_bot, revisions, minor_revisions, count(1) actors FROM actor_revisions GROUP BY 1,2,3,4
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...