SQL
AخA
select actor_name as editor, COUNT(rev_actor) as accepts,
(select COUNT(rc_id) from recentchanges_userindex where rc_actor = actor_id ) as recent_edits,
ipb_expiry As 'Blocked'
from revision_userindex
left join actor on rev_actor = actor_id
left join ipblocks on actor_user = ipb_user
where (rev_page = 21063913)
and (YEAR(rev_timestamp) = 2023 )
group by rev_actor
order by accepts desc, recent_edits;
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.