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
Iluvatar
.
Toggle Highlighting
SQL
-- общий SELECT REGEXP_REPLACE(comment_text, '.*?u:(.*?)\\|.*', '\\1') AS username, COUNT(*) AS actions FROM logging JOIN actor ON actor_id = log_actor JOIN comment ON comment_id = log_comment_id WHERE log_timestamp > "20220101000000" AND actor_name = "QBA-bot" AND (log_type = "block" OR log_type = "protect") AND (comment_text LIKE "%блокировка ботом%" OR comment_text LIKE "%защиты ботом%") GROUP BY username ORDER BY actions DESC; -- блокировки SELECT REGEXP_REPLACE(comment_text, '.*?u:(.*?)\\|.*', '\\1') AS username, COUNT(*) AS blocks FROM logging JOIN actor ON actor_id = log_actor JOIN comment ON comment_id = log_comment_id WHERE log_timestamp > "20220101000000" AND actor_name = "QBA-bot" AND (log_type = "block" OR log_type = "protect") AND comment_text LIKE "%блокировка ботом%" GROUP BY username ORDER BY blocks DESC; -- защиты SELECT REGEXP_REPLACE(comment_text, '.*?u:(.*?)\\|.*', '\\1') AS username, COUNT(*) AS protections FROM logging JOIN actor ON actor_id = log_actor JOIN comment ON comment_id = log_comment_id WHERE log_timestamp > "20220101000000" AND actor_name = "QBA-bot" AND (log_type = "block" OR log_type = "protect") AND comment_text LIKE "%защиты ботом%" GROUP BY username ORDER BY protections DESC;
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...