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
Teibit
.
Toggle Highlighting
SQL
DECLARE @numberOfUsers int(2) SET @numberOfUsers = 3 ( SELECT 'Simple English' AS IAL, SIMPLE_L.log_user AS 'User ID', COUNT(SIMPLE_L.log_user) AS 'Contributions in Simple English', COUNT(SIMPLE_L.log_user) / SIMPLE_U.user_editcount AS 'Ratio of global by Simple English contributions' FROM simplewiki_p.logging AS SIMPLE_L, simplewiki_p.user AS SIMPLE_U WHERE SIMPLE_U.user_id = SIMPLE_L.log_user AND COUNT(SIMPLE_L.log_user) / SIMPLE_U.user_editcount IS NOT NULL GROUP BY SIMPLE_L.log_user ORDER BY SIMPLE_U.user_editcount / COUNT(SIMPLE_L.log_user) DESC LIMIT @numberOfUsers );
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...