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
Fæ
.
Toggle Highlighting
SQL
USE commonswiki_p; SELECT user_name AS User, IF((SELECT rev_timestamp from revision_userindex where rev_user = user_id AND rev_timestamp > DATE_ADD(NOW(), INTERVAL -180 DAY) ORDER BY rev_timestamp IS NULL, rev_timestamp DESC LIMIT 1) IS NULL, 1, 0) AS Inactive, user_editcount AS Edit_Count FROM user_groups LEFT JOIN user ON ug_user = user_id WHERE ug_group = 'sysop' HAVING Inactive = 1 ORDER BY user_editcount;
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...