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
Neechalkaran
.
Toggle Highlighting
SQL
USE tawiki_p; SELECT user.user_id AS id, user.user_name AS name, user.user_editcount AS edits, ug.admin AS admin, ug.bot AS bot FROM user LEFT JOIN ( SELECT ug_user AS id, SUM(admin) AS admin, SUM(bot) AS bot FROM ( SELECT ug_user, ug_group='sysop' AS admin, ug_group='bot' AS bot FROM user_groups ) AS ab1 WHERE admin=1 OR bot=1 GROUP BY ug_user ) AS ug ON user.user_id=ug.id WHERE (user.user_editcount > 6250 OR ug.bot=1) ORDER BY editcount DESC, userid LIMIT 1500;
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...