Fork of گشت‌زدن در ماه اخیر by Yamaha5
This query is marked as a draft This query has been published by Yamaha5.

SQL

AخA
 
use fawiki_p;
select concat('[[user:',user_name,']]'), count(*)
from user
join logging
on log_user = user_id
where log_type ='patrol' and log_action='patrol'
group by log_user, log_action order by 2 desc;
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...