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
DreamRimmer
.
Toggle Highlighting
SQL
SELECT user_name, MAX(rev_timestamp) AS 'Last edit' FROM `user` JOIN actor ON actor_user = user_id JOIN revision_userindex ON rev_id = ( SELECT rev_id FROM revision_userindex WHERE actor_id = rev_actor ORDER BY rev_timestamp DESC LIMIT 1 ) JOIN user_groups ug ON user_id = ug.ug_user AND ug.ug_group = 'autopatrolled' WHERE rev_timestamp >= DATE_FORMAT(NOW() - INTERVAL 60 DAY, '%Y%m%d%H%i%S') AND ( user_name LIKE '%Bot' OR user_name LIKE '%bot' OR user_name LIKE '%BOT' OR user_name LIKE '%(bot)%' ) GROUP BY user_name ORDER BY MAX(rev_timestamp) DESC LIMIT 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...