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
Jmorgan (WMF)
.
When they registered, how many edits they have, and the date and time of their most recent edit. All dates are in the format YYYYMMDDhhmmss ("year, month, day, hour, minute, second").
Toggle Highlighting
SQL
select user_name, user_editcount, user_registration, max(rc_timestamp) as latest_edit from enwiki_p.user u join enwiki_p.user_groups ug on u.user_id = ug.ug_user join enwiki_p.recentchanges_userindex ru on u.user_id = ru.rc_user where ru.rc_timestamp > DATE_FORMAT(DATE_SUB(NOW(),INTERVAL 30 DAY),'%Y%m%d%H%i%s') and ug.ug_group = 'sysop' group by u.user_name order by u.user_registration asc;
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...