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

SQL

x
 
with B as 
(select user_id, user_name, user_registration, user_editcount
    from user join(select user_id, user_editcount
    from user join user_groups on user.user_id = user_groups.ug_user
    where user_groups.ug_group = 'bot'
    group by user_id)
 select user_id, user_name, user_registration, user_editcount
    from user join user_groups on user.user_id = user_groups.ug_user
    where B.user_id is null;
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...