Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Number of locks for Spam-only and others
by
Ladsgroup
This query is marked as a draft
This query has been published
by
Vermont
.
Toggle Highlighting
SQL
USE metawiki_p; SELECT SUBSTR(log_timestamp, 1, 8) AS day, COUNT(log_id) AS Locks FROM logging JOIN comment ON log_comment_id = comment_id WHERE log_timestamp > '20230000' AND log_action = 'setstatus' AND comment_text = 'Spam-only account: spambot' GROUP BY day; SELECT SUBSTR(log_timestamp, 1, 8) AS day, COUNT(log_id) AS Locks, comment_text FROM logging JOIN comment ON log_comment_id = comment_id WHERE log_timestamp > '20230000' AND log_action = 'setstatus' GROUP BY day, comment_text HAVING Locks > 50;
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...