This query is marked as a draft This query has been published by ASammour.

SQL

AخA
 
use arwiki_p;
SELECT
            user_name,
            COUNT(log_timestamp)
          FROM logging,user
          WHERE log_type = 'delete'
          AND log_action = 'delete' and user_name = log_user
          AND user_name IN (SELECT user_name FROM user_groups INNER JOIN user ON user_id = ug_user WHERE ug_group = 'sysop')
          GROUP BY log_user
By running queries you agree to the Cloud Services Terms of Use and you irrevocably agree to release your SQL under CC0 License.
All SQL code is licensed under CC0 License.

Checking query status...