Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Active admins with logged actions in recent 28 days
by
Arjunaraoc
This query is marked as a draft
This query has been published
by
Arjunaraoc
.
Admins (as of now) and their logged action in the specified year logged action to understand the admin category action activity
Toggle Highlighting
SQL
SELECT LEFT(rev_timestamp,4) as year, user_name, COUNT(*) as admin_edits, FROM logging JOIN actor ON log_actor=actor_id JOIN user ON user_id =actor_user WHERE LEFT(log_timestamp,8) >= REPLACE(CURDATE() - interval 28 day,'-','') AND LEFT(log_timestamp,8) != REPLACE(CURDATE(),'-','') AND REPLACE(user_name," ","_") in ( Select page_title FROM page join categorylinks ON cl_from=page_id AND cl_type="page" WHERE cl_to ="వికీపీడియా_నిర్వాహకులు") GROUP BY LEFT(rev_timestamp,4), user_name ORDER BY LEFT(rev_timestamp,4) DESC, admin_edits DESC LIMIT 1000;
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...