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
Huji
.
Toggle Highlighting
SQL
use fawiki_p; select log_user_text, count(*), case when exists ( select null from user_groups where ug_user = log_user and ug_group = 'eliminator' ) then 1 else 0 end as Eliminator, case when exists ( select null from user_groups where ug_user = log_user and ug_group = 'sysop' ) then 1 else 0 end as Sysop, case when exists ( select null from user_former_groups where ufg_user = log_user and ufg_group = 'eliminator' ) then 1 else 0 end as FormerEliminator, case when exists ( select null from user_former_groups where ufg_user = log_user and ufg_group = 'sysop' ) then 1 else 0 end as FormerSysop from logging where log_type = 'block' and log_action = 'block' and log_timestamp > '20160101000000' and log_user is not null -- hidden from public group by log_user order by 2 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...