Fork of
zhwiki: logging/rights changes
by Xiplus
This query is marked as a draft
This query has been published
by Xiplus.
SQL
AخA
SELECT user_name, ug1.ug_group
FROM user_groups AS ug1
LEFT JOIN user ON ug1.ug_user = user_id
LEFT JOIN user_groups AS ug2 ON ug1.ug_user = ug2.ug_user AND ug2.ug_group = 'bot'
WHERE ug1.ug_group IN ('extendedconfirmed', 'sysop')
AND ug2.ug_user IS NULL
GROUP BY ug1.ug_user
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.