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 có công cụ bảo quản theo số tác vụ
Toggle Highlighting
SQL
USE viwiki_p; SELECT COUNT(*) AS "Số hành động", user.user_name AS "Tên thành viên", CAST(CASE WHEN user_groups.ug_group = "eliminator" THEN "Điều phối viên" ELSE "Bảo quản viên" END AS VARCHAR(255)) as "Chức vụ" FROM logging INNER JOIN actor ON actor.actor_id = logging.log_actor INNER JOIN user_groups ON user_groups.ug_user = actor.actor_user INNER JOIN user ON user.user_id = actor.actor_user WHERE logging.log_type LIKE logging.log_action AND logging.log_type LIKE "delete" AND user_groups.ug_group IN ("eliminator", "sysop") GROUP BY logging.log_actor ORDER BY `Số hành động` 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...