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

SQL

AخA
 
select * from logging join user on user_name = replace(log_title, '_', ' ') 
    where log_type = 'block' and exists 
        (select 1 from zhwiki_p.user_groups 
            where ug_user = user_id and ug_group = 'sysop'
        )
        and log_timestamp >= '2016-01-01' 
        order by log_timestamp desc;
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...