Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Itwiki autopatrolled users with at least 10 edits in six months
by
Incola
This query is marked as a draft
This query has been published
by
Alexmar983
.
Toggle Highlighting
SQL
USE itwiki_p; SELECT user_name, COUNT(*) AS edit FROM user LEFT JOIN revision ON user.user_id = revision.rev_user LEFT JOIN page ON revision.rev_page = page.page_id WHERE rev_timestamp > NOW() - INTERVAL 6 MONTH AND page_namespace = 0 AND user_id IN ( SELECT ug_user FROM user_groups WHERE ug_group = 'sysop') GROUP BY user_name HAVING edit >= 10 ORDER BY edit 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...