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
Rebbing
.
Borrowed from No. 13849 by Cenarium with modest polishing.
Toggle Highlighting
SQL
SELECT @ramk := @rank + 1 AS rank, log_user_text AS user, COUNT(log_user_text) AS num_reviews FROM logging WHERE log_timestamp > DATE_FORMAT(DATE_SUB(NOW(), INTERVAL 1 YEAR), '%Y%m%d%H%i%s') AND log_type = 'review' AND log_action = 'approve' AND log_namespace = 0 JOIN (SELECT @rank := 0) r GROUP BY user ORDER BY num_reviews
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...