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
Matěj Suchánek
.
Toggle Highlighting
SQL
USE cswiki_p; SELECT afl_filter, SUM(IF(afl_actions LIKE '%warn%', 1, 0)) / (COUNT(*) / 2) AS ratio, COUNT(*) AS hits FROM abuse_filter_log WHERE afl_filter NOT LIKE 'global-%' AND EXISTS (SELECT * FROM abuse_filter_action WHERE afa_filter = afl_filter AND afa_consequence = 'warn') GROUP BY afl_filter ORDER BY ratio;
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...