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
Shushugah
.
Toggle Highlighting
SQL
use enwiki_p; select count(rc_id) as reviews, rc_title, count(rc_id) - SUM(comment_text like "%declined ([[WP:AFCH|AFCH]] 0.9.1)") as "accepted", concat(round(SUM(comment_text not like "declined ([[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 (accepted > 5) 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...