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
Vexations
.
Toggle Highlighting
SQL
SELECT actor_name, block.block_actions COUNT(log_action) AS actions FROM actor #on log_actor = actor_id JOIN user_groups ON actor_user = ug_user JOIN logging on actor_id = log_actor WHERE ug_group ='sysop' AND actor_name = 'TonyBallioni' AND log_timestamp BETWEEN (NOW() - INTERVAL 30 DAY ) AND NOW() JOIN ( SELECT COUNT(log_action) AS block_actions FROM logging WHERE log_type = 'block' ) as block GROUP BY actor_name, log_type ORDER BY actions DESC;
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...