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

SQL

x
 
SELECT 
    rev.rev_actor AS actor_id,
    COUNT(rev.rev_actor) AS edits_num,
    SUM(rev.rev_len - COALESCE(parent.rev_len, 0)) AS total_len_difference
FROM revision_userindex rev
LEFT JOIN revision parent 
    ON rev.rev_parent_id = parent.rev_id
WHERE rev.rev_page = 2221092 
    AND rev.rev_minor_edit = 0 
    AND rev.rev_id <= 263989
GROUP BY rev.rev_actor;
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...