Fork of Top AfD participants who aren't NPPs or Admins (1 month) by MPGuy2824
This query is marked as a draft This query has been published by MPGuy2824.

SQL

AخA
 
SELECT user_name as Editor, page_title as 'Example FLC', count(*) as AfDedits
    FROM page
    JOIN revision ON rev_page = page_id
    JOIN actor ON actor_id = rev_actor
    JOIN user ON actor_user = user_id
    WHERE page_namespace = 4
    AND page_title LIKE "Featured_list_candidates/%"
--    AND page_title NOT  "Articles_for_deletion/Log/%"
    AND rev_timestamp > date_add(now(), interval -30 day)
--    and user_editcount > 1000
--  AND NOT EXISTS (SELECT 1 FROM user_groups WHERE user_id=ug_user AND ug_group in ('sysop', 'patroller', 'bot'))
    group by rev_actor
  --  having AfDedits > 35
    order by AfDedits 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...