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

SQL

AخA
 
SELECT Count(DISTINCT user_name) AS user_name
FROM   user_groups 
       JOIN user 
         ON ug_user = user_id 
WHERE  ug_group = "ipblock-exempt" 
       AND ug_expiry IS NULL;
SELECT Count(DISTINCT user_name) AS user_name
FROM   user_groups 
       JOIN user 
         ON ug_user = user_id 
WHERE  ug_group = "ipblock-exempt";
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...