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
ProcrastinatingReader
.
Toggle Highlighting
SQL
USE enwiki_p; SELECT actor_name, user_editcount, user_registration, (user_editcount > 500 AND user_registration < 20200627000000) as `30/500`, COUNT(*) as `RedWarn edits`, COUNT(*)/user_editcount*100 as `RedWarn %` FROM revision_userindex JOIN change_tag ON ct_rev_id = rev_id JOIN actor_revision ON rev_actor = actor_id JOIN `user` ON actor_user = user_id INNER JOIN user_groups ON (ug_user = actor_id) LEFT JOIN ipblocks ON user_id = ipb_user WHERE ct_tag_id = 577 -- RedWarn AND user_groups.ug_group = 'rollbacker' GROUP BY actor_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...