Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
This query is marked as a draft
This query has been published
by
Larske
.
Number of edits at svwp, total and last 90 days, by different user groups.
Toggle Highlighting
SQL
USE svwiki_p; SELECT * FROM user_groups WHERE ug_group IN ('sysop','rollbacker','autopatrolled','bot') LIMIT 1000 /* SELECT user.user_name AS Användare, COUNT(recentchanges.rc_id) AS Antal, MIN(recentchanges.rc_timestamp) AS Första, MAX(recentchanges.rc_timestamp) AS Senaste FROM user_groups #recentchanges.rc_title, recentchanges.rc_timestamp FROM user_groups INNER JOIN user ON user_groups.ug_user = user.user_id INNER JOIN recentchanges ON user.user_id = recentchanges.rc_user WHERE ug_group LIKE 'sysop' #'rollbacker' #'autopatrolled' GROUP BY user_name ORDER BY user_name LIMIT 100 */ /* SELECT ug_group AS Grupp user.user_name AS Användare, COUNT(revision.rev_id) AS Antal, MIN(revision.rev_timestamp) AS Första, MAX(revision.rev_timestamp) AS Senaste FROM user_groups #recentchanges.rc_title, recentchanges.rc_timestamp FROM user_groups INNER JOIN user ON user_groups.ug_user = user.user_id INNER JOIN revision ON user.user_id = revision.rev_user WHERE ug_group LIKE 'sysop' # 'rollbacker' #'autopatrolled' GROUP BY user_name ORDER BY user_name LIMIT 100; */
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...