Fork of Most active users by bytes on arwiki by Mr. Ibrahem
This query is marked as a draft This query has been published by Geraki.

SQL

AخA
 
USE elwiki_p;
SELECT user_name, SUM(CAST(rev.rev_len as signed)-CAST(parent.rev_len as signed)) AS byte_count, COUNT(rev.rev_id) as edit_count
FROM user
JOIN revision rev
ON user_id = rev.rev_user
JOIN revision parent
ON rev.rev_parent_id = parent.rev_id
JOIN page
ON page_id = parent.rev_page
WHERE page_namespace = 0
#AND user_name = 'The Polish Bot'
#AND page_title = 'Radlin'
GROUP BY user_name
ORDER BY byte_count DESC
LIMIT 600;
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...