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
WikiBayer
.
Toggle Highlighting
SQL
SELECT u.user_name, COUNT(ur.up_property) AS num_rights, GROUP_CONCAT(ur.up_property SEPARATOR ', ') AS user_rights FROM user AS u JOIN user_groups AS ug ON ug.ug_user = u.user_id JOIN user_rights AS ur ON ur.up_user = u.user_id LEFT JOIN user_properties AS up ON up.up_user = u.user_id AND up.up_property = ur.up_property WHERE ug.ug_group = 'user' -- oder eine andere Benutzergruppe, falls gewünscht AND up.up_value IS NULL GROUP BY u.user_id ORDER BY num_rights DESC 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...