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

SQL

x
 
select count(rev_id) as reviews,
      SUM(comment_text like "%Publishing accepted%") as "accept",
      SUM(comment_text like "Declining submission:%") as "decline",
      SUM(comment_text like "Rejecting submission:%") as "reject",
      concat(round(SUM(comment_text like "%Publishing accepted%") * 100 / count(rev_id), 1), "%") as "accept %",
      concat(round(SUM(comment_text like "Declining submission:%") * 100 / count(rev_id), 1), "%") as "decline %",
      concat(round(SUM(comment_text like "Rejecting submission:%") * 100 / count(rev_id), 1), "%") as "reject %"
from revision_userindex
left join comment_revision on rev_comment_id = comment_id
where (rev_timestamp >= 20210101000000) AND (rev_timestamp < 20210201000000)
  and (comment_text like "Declining submission:%" or comment_text like "Rejecting submission:%" or comment_text like "%Publishing accepted%")
;
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...