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
EpochFail
.
Toggle Highlighting
SQL
SELECT IF(log_comment REGEXP "WP:CSD#G3\\|", "vandalism", IF(log_comment REGEXP "WP:CSD#G10\\|", "attack", IF(log_comment REGEXP "WP:CSD#G11\\|", "spam", IF(log_comment REGEXP "WP:CSD#A11\\|", "hoax", "other")))) AS deletion_reason, COUNT(*) FROM logging WHERE log_type = "delete" AND log_action = "delete" AND log_timestamp BETWEEN "20150901" AND "20160901" AND log_comment LIKE "[[WP:CSD#%" AND log_comment REGEXP "WP:CSD#(G3|G10|G11|A11)\\|" GROUP BY
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...