Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
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
Raydann
.
Toggle Highlighting
SQL
SELECT user_name as Editor, page_title as 'Example AFD', 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 "Articles_for_deletion/%" AND page_title NOT LIKE "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
.
Submit Query
Stop Query
All SQL code is licensed under
CC0 License
.
Checking query status...