SQL
x
SELECT comment.comment_text, log.log_id
FROM comment
RIGHT JOIN logging AS log ON log.log_comment_id = comment.comment_id
WHERE comment.comment_text LIKE "Use of [[WB:COPYVIO|copyrighted work without permission]]. Please read [[Foundation:Terms of Use|Terms of Use]]: content was%"
AND log.log_type = "delete";
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.