SQL
AخA
SELECT Y.user_id AS user_id, Y.user_name AS user_name, Y.total AS total, Y.main AS main
FROM
(SELECT X.user_id, X.user_name, X.user_editcount AS total, COUNT(*) AS main
FROM revision_userindex
JOIN actor_revision ON rev_actor = actor_id
JOIN (SELECT * FROM user WHERE user_editcount >= 1500) AS X ON X.user_id = actor_user
JOIN page ON rev_page = page_id AND page_namespace = 0
GROUP BY X.user_id) AS Y
WHERE total >= 3000 OR main >= 1500
ORDER BY total 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.