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

SQL

AخA
 
use fawiki_p;
select ug_user from user_groups where ug_group = 'bot'
union
select ufg_user from user_former_groups
join user
on ufg_user = user_id
where efg_group = 'bot'
and user_name like '%bot'
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...