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
Xaosflux
.
Toggle Highlighting
SQL
SELECT user_name, user_editcount, user_registration, rev_timestamp AS 'Last edit' FROM `user` LEFT JOIN user_groups ug1 ON user_id = ug1.ug_user AND ug1.ug_group = 'bot' LEFT JOIN user_groups ug2 ON user_id = ug2.ug_user AND ug2.ug_group = 'massmessage-sender' LEFT JOIN user_groups ug3 ON user_id = ug3.ug_user AND ug3.ug_group = 'templateeditor' LEFT JOIN user_groups ug4 ON user_id = ug3.ug_user AND ug3.ug_group = 'extendedmover' LEFT JOIN user_groups ug5 ON user_id = ug3.ug_user AND ug3.ug_group = 'accountcreator' LEFT JOIN user_groups ug6 ON user_id = ug3.ug_user AND ug3.ug_group = 'sysop' JOIN revision_userindex ON rev_id = (SELECT rev_id FROM revision_userindex WHERE user_id = rev_user ORDER BY rev_timestamp DESC LIMIT 1) WHERE rev_timestamp <= 20170529000000 AND ug1.ug_group IS NOT NULL AND ug2.ug_group IS NOT NULL AND ug3.ug_group IS NOT NULL AND ug4.ug_group IS NOT NULL AND ug5.ug_group IS NOT NULL AND ug6.ug_group IS NOT NULL
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...