This query is marked as a draft This query has been published by Mwvincent.

SQL

AخA
 
SELECT 
    *, 
    ROUND( LEAST( 5, edits / users ) * users + POWER( users, 1.5 ) ) AS score 
    FROM 
    (   SELECT  
            rc_cur_id AS page_id,
            rc_title AS title,
            COUNT(*) AS edits,
            COUNT(DISTINCT rc_actor) AS users
        FROM recentchanges 
        WHERE rc_namespace = 0 AND rc_minor = 0 AND rc_bot = 0 AND rc_timestamp > 20220311000000 AND rc_timestamp < 20220312000000
        GROUP BY page_id
        ORDER BY edits DESC
        LIMIT 10000 ) AS temp
    ORDER BY score 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.
All SQL code is licensed under CC0 License.

Checking query status...