SQL
AخA
select * from (select distinct user_id from user join user_groups on user.user_id = user_groups.ug_user
where (user_groups.ug_group = 'extendedconfirmed' or user_groups.ug_group = 'sysop') limit 10 ) A
left join (select distinct user_id from user join user_groups on user.user_id = user_groups.ug_user
where user_groups.ug_group = 'bot' limit 10 ) B
on A.user_id = B.user_id limit 10
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.