This query is marked as a draft This query has been published by جار الله.

SQL

AخA
 
use arwiki_p;
SELECT user.user_name AS pusername, p_count FROM
 (SELECT log_user AS p_user, COUNT(log_user) AS p_count
 FROM logging AS up WHERE up.log_action='upload' GROUP BY log_user
 ORDER BY COUNT(log_user) DESC LIMIT 0,200) AS patrol, user
 WHERE p_user=user_id AND p_user  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.
All SQL code is licensed under CC0 License.

Checking query status...