SQL
AخA
use hewiki_p;
select count(*) from user
where exists
(select * from user_groups
where user_id = ug_user
and ug_group = "patroller")
and not exists
(select * from user_groups
where user_id = ug_user
and ug_group = "autopatrolled")
limit 10
#show tables
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.