Fork of Thanks for 2022 by 1234qwer1234qwer4
This query is marked as a draft This query has been published by Sdkb.

SQL

AخA
 
USE enwiki_p;
SELECT
    CONCAT(ROW_NUMBER() OVER(ORDER BY count(*) DESC),'.') AS 'Rank',
    log_title AS 'User',
    COUNT(log_id) AS 'Thanks received'
FROM logging_logindex
WHERE 
    log_type = "thanks"
GROUP BY log_title
ORDER BY 3 DESC
By running queries you agree to the Cloud Services Terms of Use and you irrevocably agree to release your SQL under CC0 License.
All SQL code is licensed under CC0 License.

Checking query status...