Fork of
Liz's page deletion log entries
by Novem Linguae
This query is marked as a draft
This query has been published
by Novem Linguae.
SQL
AخA
SELECT SUBSTR(comment_text, 1, 12), COUNT(*)
FROM logging_userindex
JOIN comment ON comment_id = log_comment_id
WHERE log_actor = (
SELECT actor_id
FROM actor
JOIN user ON actor_user = user_id
WHERE user_name = 'Liz'
)
AND log_type = 'delete'
AND log_action = 'delete'
GROUP BY SUBSTR(comment_text, 1, 12)
ORDER BY COUNT(*) 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.