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
A smart kitten
.
blocks
Toggle Highlighting
SQL
select actor_name, count(*) as '2023w1' from logging_userindex inner join actor_logging on log_actor=actor_id where log_timestamp between '20230101000000' and '20230107235959' and log_type="block" and log_actor!=198977042 group by actor_name order by 2023w1 desc; select actor_name, count(*) as '2023w2' from logging_userindex inner join actor_logging on log_actor=actor_id where log_timestamp between '20230108000000' and '20230114235959' and log_type="block" and log_actor!=198977042 group by actor_name order by 2023w2 desc; select actor_name, count(*) as '2023w3' from logging_userindex inner join actor_logging on log_actor=actor_id where log_timestamp between '20230115000000' and '20230121235959' and log_type="block" and log_actor!=198977042 and not (log_actor=346314 and log_timestamp between '20230121000000' and '20230121235959') /* seems like the bot was on the main account for a bit here */ order by 2023w3 desc; select actor_name, count(*) as '2023w4' from logging_userindex inner join actor_logging on log_actor=actor_id where log_timestamp between '20230122000000' and '20230128235959' and log_type="block" and log_actor!=198977042 group by actor_name order by 2023w4 desc; select actor_name, count(*) as '2023w5' from logging_userindex inner join actor_logging on log_actor=actor_id where log_timestamp between '20230129000000' and '20230204235959' and log_type="block" and log_actor!=198977042 group by actor_name order by 2023w5 desc; select actor_name, count(*) as '2023w6' from logging_userindex inner join actor_logging on log_actor=actor_id where log_timestamp between '20230205000000' and '20230211235959' and log_type="block" and log_actor!=198977042 group by actor_name order by 2023w6 desc; select actor_name, count(*) as '2023w7' from logging_userindex inner join actor_logging on log_actor=actor_id where log_timestamp between '20230212000000' and '20230218235959' and log_type="block" and log_actor!=198977042 group by actor_name order by 2023w7 desc; select actor_name, count(*) as '2023w8' from logging_userindex inner join actor_logging on log_actor=actor_id where log_timestamp between '20230219000000' and '20230225235959' and log_type="block" and log_actor!=198977042 group by actor_name order by 2023w8 desc; select actor_name, count(*) as '2023w9' from logging_userindex inner join actor_logging on log_actor=actor_id where log_timestamp between '20230226000000' and '20230304235959' and log_type="block" and log_actor!=198977042 group by actor_name order by 2023w9 desc; select actor_name, count(*) as '2023w10' from logging_userindex inner join actor_logging on log_actor=actor_id where log_timestamp between '20230305000000' and '20230311235959' and log_type="block" and log_actor!=198977042 group by actor_name order by 2023w10 desc; select actor_name, count(*) as '2023w11' from logging_userindex inner join actor_logging on log_actor=actor_id where log_timestamp between '20230312000000' and '20230318235959' and log_type="block" and log_actor!=198977042 group by actor_name order by 2023w11 desc; select actor_name, count(*) as '2023w12' from logging_userindex inner join actor_logging on log_actor=actor_id where log_timestamp between '20230319000000' and '20230325235959' and log_type="block" and log_actor!=198977042 group by actor_name order by 2023w12 desc; select actor_name, count(*) as '2023w13' from logging_userindex inner join actor_logging on log_actor=actor_id where log_timestamp between '20230326000000' and '20230401235959' and log_type="block" and log_actor!=198977042 group by actor_name order by 2023w13 desc; select actor_name, count(*) as '2023w14' from logging_userindex inner join actor_logging on log_actor=actor_id where log_timestamp between '20230402000000' and '20230408235959' and log_type="block" and log_actor!=198977042 group by actor_name order by 2023w14 desc; select actor_name, count(*) as '2023w15' from logging_userindex inner join actor_logging on log_actor=actor_id where log_timestamp between '20230409000000' and '20230415235959' and log_type="block" and log_actor!=198977042 group by actor_name order by 2023w15 desc; select actor_name, count(*) as '2023w16' from logging_userindex inner join actor_logging on log_actor=actor_id where log_timestamp between '20230416000000' and '20230422235959' and log_type="block" and log_actor!=198977042 group by actor_name order by 2023w16 desc; select actor_name, count(*) as '2023w17' from logging_userindex inner join actor_logging on log_actor=actor_id where log_timestamp between '20230423000000' and '20230429235959' and log_type="block" and log_actor!=198977042 group by actor_name order by 2023w17 desc; select actor_name, count(*) as '2023w18' from logging_userindex inner join actor_logging on log_actor=actor_id where log_timestamp between '20230430000000' and '20230506235959' and log_type="block" and log_actor!=198977042 group by actor_name order by 2023w18 desc; select actor_name, count(*) as '2023w19' from logging_userindex inner join actor_logging on log_actor=actor_id where log_timestamp between '20230507000000' and '20230513235959' and log_type="block" and log_actor!=198977042 group by actor_name order by 2023w19 desc; select actor_name, count(*) as '2023w20' from logging_userindex inner join actor_logging on log_actor=actor_id where log_timestamp between '20230514000000' and '20230520235959' and log_type="block" and log_actor!=198977042 group by actor_name order by 2023w20 desc; select actor_name, count(*) as '2023w21' from logging_userindex inner join actor_logging on log_actor=actor_id where log_timestamp between '20230521000000' and '20230527235959' and log_type="block" and log_actor!=198977042 group by actor_name order by 2023w21 desc; select actor_name, count(*) as '2023w22' from logging_userindex inner join actor_logging on log_actor=actor_id where log_timestamp between '20230528000000' and '20230603235959' and log_type="block" and log_actor!=198977042 group by actor_name order by 2023w22 desc; select actor_name, count(*) as '2023w23' from logging_userindex inner join actor_logging on log_actor=actor_id where log_timestamp between '20230604000000' and '20230610235959' and log_type="block" and log_actor!=198977042 group by actor_name order by 2023w23 desc; select actor_name, count(*) as '2023w24' from logging_userindex inner join actor_logging on log_actor=actor_id where log_timestamp between '20230611000000' and '20230617235959' and log_type="block" and log_actor!=198977042 group by actor_name order by 2023w24 desc; select actor_name, count(*) as '2023w25' from logging_userindex inner join actor_logging on log_actor=actor_id where log_timestamp between '20230618000000' and '20230624235959' and log_type="block" and log_actor!=198977042 group by actor_name order by 2023w25 desc; select actor_name, count(*) as '2023w26' from logging_userindex inner join actor_logging on log_actor=actor_id where log_timestamp between '20230625000000' and '20230701235959' and log_type="block" and log_actor!=198977042 group by actor_name order by 2023w26 desc; select actor_name, count(*) as '2023w27' from logging_userindex inner join actor_logging on log_actor=actor_id where log_timestamp between '20230702000000' and '20230708235959' and log_type="block" and log_actor!=198977042 group by actor_name order by 2023w27 desc; select actor_name, count(*) as '2023w28' from logging_userindex inner join actor_logging on log_actor=actor_id where log_timestamp between '20230709000000' and '20230715235959' and log_type="block" and log_actor!=198977042 group by actor_name order by 2023w28 desc; select actor_name, count(*) as '2023w29' from logging_userindex inner join actor_logging on log_actor=actor_id where log_timestamp between '20230716000000' and '20230722235959' and log_type="block" and log_actor!=198977042 group by actor_name order by 2023w29 desc; select actor_name, count(*) as '2023w30' from logging_userindex inner join actor_logging on log_actor=actor_id where log_timestamp between '20230723000000' and '20230729235959' and log_type="block" and log_actor!=198977042 group by actor_name order by 2023w30 desc; select actor_name, count(*) as '2023w31' from logging_userindex inner join actor_logging on log_actor=actor_id where log_timestamp between '20230730000000' and '20230805235959' and log_type="block" and log_actor!=198977042 group by actor_name order by 2023w31 desc; select actor_name, count(*) as '2023w32' from logging_userindex inner join actor_logging on log_actor=actor_id where log_timestamp between '20230806000000' and '20230812235959' and log_type="block" and log_actor!=198977042 group by actor_name order by 2023w32 desc; select actor_name, count(*) as '2023w33' from logging_userindex inner join actor_logging on log_actor=actor_id where log_timestamp between '20230813000000' and '20230819235959' and log_type="block" and log_actor!=198977042 group by actor_name order by 2023w33 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...