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
KylieTastic
.
Toggle Highlighting
SQL
select COUNT(rc_id) as "total", 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(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 comment on rc_comment_id = comment_id where (rc_namespace = 118 or rc_namespace = 2) and (rc_type < 5) and (comment_text like "Declining submission:%" or comment_text like "Rejecting submission:%" or comment_text like "%Publishing accepted%") and ( DAY(rc_timestamp) < 15 ) and ( MONTH(rc_timestamp) = 1 ) and ( YEAR(rc_timestamp) = 2023 ); select SUM(comment_text like "% has been declined (%") + SUM(comment_text like "% has been rejected (%") - SUM(comment_text like "Declining submission:%") - SUM(comment_text like "Rejecting submission:%") as declined_then_deleted, actor_name 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 or rc_namespace = 3) and (rc_type < 5) and (comment_text like "Declining submission:%" or comment_text like "Rejecting submission:%" or comment_text like '% has been declined (%' or comment_text like '% has been rejected (%') and ( DAY(rc_timestamp) < 15 ) and ( MONTH(rc_timestamp) = 1 ) and ( YEAR(rc_timestamp) = 2023 ); group by rc_actor order by declined_then_deleted 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...