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
Lê Song Vĩ
.
https://vi.wikipedia.org/wiki/Thành viên:Lê Song Vĩ/Danh sách thành viên tuần tra thay đổi gần đây theo số tác vụ
Toggle Highlighting
SQL
USE viwiki_p; SELECT actor.actor_name AS "Tên tài khoản", GROUP_CONCAT(DISTINCT user_groups.ug_group) AS "Nhóm người dùng", COUNT(DISTINCT revision.rev_id) AS "Số tác vụ" FROM revision JOIN change_tag ON change_tag.ct_rev_id = revision.rev_id JOIN change_tag_def ON change_tag.ct_tag_id = change_tag_def.ctd_id JOIN actor ON revision.rev_actor = actor.actor_id JOIN user_groups ON user_groups.ug_user = actor.actor_user WHERE change_tag_def.ctd_name IN ("mw-rollback", "mw-undo") AND user_groups.ug_group IN ("rollbacker", "patroller") GROUP BY actor.actor_id ORDER BY `Số tác vụ` DESC LIMIT 200
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...