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
Huji
.
Toggle Highlighting
SQL
SELECT actor_name, STR_TO_DATE(LEFT(MAX(rev_timestamp), 8), '%Y%m%d') AS latest, group_concat(distinct ug.ug_group) FROM revision JOIN actor ON rev_actor = actor_id AND actor_user <> 0 JOIN user_groups AS ug ON ug_user = actor_user /*LEFT JOIN user_groups AS ug2 ON ug2.ug_user = actor_user AND ug2.ug_group = 'bot'*/ WHERE /*ug2.ug_group IS NULL AND*//* ug.ug_group IN ( 'rollbacker', 'patroller', 'eliminator', 'sysop', 'bureaucrat', 'Image-reviewer', 'templateeditor', 'oversight' )*/ AND actor_name = 'Arellaa' GROUP BY actor_name -- HAVING latest < DATE_FORMAT(DATE_SUB(NOW(), INTERVAL 6 MONTH),'%Y%m%d%H%i%s')
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...