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
Matěj Suchánek
.
Toggle Highlighting
SQL
USE wikidatawiki_p; SELECT user_name, count(rc_id), user_editcount, GROUP_CONCAT(DISTINCT ug_group) FROM (SELECT * FROM categorylinks WHERE cl_to = 'User_cs-N') AS userpages JOIN (SELECT * FROM page WHERE page_namespace = 2) AS users ON page_id = cl_from JOIN user ON user_name = REPLACE(page_title,"_"," ") JOIN (SELECT * FROM recentchanges WHERE rc_namespace > -1) AS recent ON user_id = rc_user LEFT JOIN user_groups ON ug_user = user_id GROUP BY user_name ORDER BY count(rc_id) DESC, user_editcount DESC, user_name;
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...