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
SNowick (WMF)
.
Toggle Highlighting
SQL
SET @rev = (SELECT MIN(rev_id) FROM revision WHERE rev_timestamp > DATE_FORMAT(DATE_ADD(NOW(), INTERVAL -30 DAY), "%Y%m%d%H%i%s")); SELECT user_name, COUNT(*) as edit_count, user_editcount, user_registration, u.user_id, IFNULL(l.ll_title, 'unknown') as language FROM revision_userindex JOIN actor ON actor.actor_id = revision_userindex.rev_actor JOIN user u ON u.user_id = actor.actor_user LEFT JOIN page p ON p.page_id = revision_userindex.rev_page LEFT JOIN langlinks l ON l.ll_from = p.page_id AND l.ll_lang = 'en' WHERE p.page_namespace = 0 AND u.user_name IS NOT NULL GROUP BY user_name, language ORDER BY edit_count DESC LIMIT 25;
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...