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
Dr-Taher
.
حصر أسماء المستخدمين من حاملي الصلاحيات، الذين لم يساهموا لمدة عام.
Toggle Highlighting
SQL
SELECT DISTINCT(actor_name) as ll_actor_name, ug_group AS user_groups, (SELECT MAX(rev_timestamp) FROM revision WHERE rev_actor = actor_id) AS last_edit_date FROM actor_revision JOIN user_groups ON actor_user = ug_user JOIN user ON actor_user = user.user_id LEFT JOIN ipblocks ON actor_user = ipb_user WHERE ug_group IN ('editor', 'autoreview', 'uploader') AND ipb_user IS NULL AND actor_id NOT IN ( SELECT rev_actor FROM revision WHERE rev_timestamp > DATE_SUB(NOW(), INTERVAL 1 YEAR) ) GROUP BY actor_name, user_groups
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...