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

SQL

AخA
 
USE etwiki_p;
SELECT
  log_comment,
  COUNT(log_id)
FROM logging
WHERE log_type = 'block'
AND log_action = 'block'
AND log_timestamp > ( NOW() - INTERVAL 24 MONTH ) 
GROUP BY log_comment
ORDER BY COUNT(log_id) DESC
LIMIT 100;
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...