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

SQL

x
 
SELECT
    B.user_name,
    B.edits,
    B.groups
FROM
(
    SELECT
        u.user_name,
        u.user_editcount AS edits,
        REPLACE(GROUP_CONCAT(DISTINCT ug.ug_group), 'extendedconfirmed', '') AS groups
    FROM user u
    LEFT JOIN user_groups ug ON u.user_id = ug.ug_user
    LEFT JOIN page p ON p.page_namespace = 2 AND p.page_title = u.user_name
    /*WHERE (ug.ug_group IS NULL OR ug.ug_group <> 'extendedconfirmed')*/
    GROUP BY u.user_id
    HAVING edits > 4500
) B
ORDER BY B.edits 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...