SQL
AخA
USE enwiki_p;
SELECT log_id, actor_name AS Deleter, DATE_FORMAT(log_timestamp, '%Y-%m-%d %H:%i:%s') AS Timestamp, CONCAT('File:', log_title) AS Filename, comment_text AS Reason
FROM logging
JOIN comment_logging ON comment_id = log_comment_id
JOIN actor_logging ON actor_id = log_actor
WHERE log_type = 'delete'
AND log_action = 'delete'
AND log_namespace = 6
AND comment_text LIKE '[[WP:CSD#F7|F7]]:%'
AND comment_text LIKE '%fair-use rationale%'
AND log_timestamp BETWEEN 20200000000000 AND 20210000000000
ORDER BY log_id DESC
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.