SQL
x
use enwiki_p;
select count(rc_id) as reviews, actor_name,
concat(round(SUM(comment_text like "%Publishing accepted%") * 100 / count(rc_id), 1), "%") as "accept %",
concat(round(SUM(comment_text like "Declining submission:%") * 100 / count(rc_id), 1), "%") as "decline %",
concat(round(SUM(comment_text like "Rejecting submission:%") * 100 / count(rc_id), 1), "%") as "reject %"
from recentchanges_userindex
left join actor on rc_actor = actor_id
left join comment on rc_comment_id = comment_id
where (rc_namespace = 118 or rc_namespace = 2)
and (comment_text like "Declining submission:%" or comment_text like "Rejecting submission:%" or comment_text like "%Publishing accepted%")
group by rc_actor order by reviews 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.