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

SQL

AخA
 
SELECT
    rev_user_text, count(*)
FROM revision LEFT JOIN user_groups ON rev_user = ug_user
WHERE ug_user NOT IN
  (SELECT DISTINCT user_groups.ug_user
   FROM user_groups
   WHERE ug_group = 'bot'
   OR ug_group = 'flowbot'
  )
GROUP BY rev_user
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...