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 reviews, rc_title, count(rc_id) - SUM(comment_text like "%accepted ([[WP:AFCH|AFCH]] 0.9.1)") as "accepted", concat(round(SUM(comment_text not like "%accepted ([[WP:AFCH|AFCH]] 0.9.1)") * 100 / count(rc_id), 1), "%") as "accept %", SUM(comment_text like "%declined ([[WP:AFCH|AFCH]] 0.9.1)") as "declined", concat(round(SUM(comment_text like "%declined ([[WP:AFCH|AFCH]] 0.9.1)") * 100 / count(rc_id), 1), "%") as "decline %" from recentchanges_userindex left join actor on rc_actor = actor_id left join comment on rc_comment_id = comment_id where (rc_namespace = 3) and (comment_text like "%([[WP:AFCH|AFCH]] 0.9.1)") and (rc_timestamp >= DATE_ADD(NOW(), INTERVAL -7 DAY) ) group by rc_title 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
.
Submit Query
Stop Query
All SQL code is licensed under
CC0 License
.
Checking query status...