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

SQL

AخA
 
SELECT count(DISTINCT rc_user) AS active
    ,ug_group
FROM recentchanges
INNER JOIN user_groups ON ug_user = rc_user
WHERE rc_timestamp > now() - interval 1 hour
GROUP BY ug_group
ORDER BY active 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.

Checking query status...