SQL
AخA
select
ipb_by_text as admin,
count(*) as totblocks,
sum(if(ipb_user != 0, 1, 0)) as users,
sum(if(ipb_user != 0, 0, 1)) as ip
from
ipblocks_ipindex
group by
ipb_by
order by
count(*) desc;
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.