SQL
x
USE trwiki_p;
SELECT CONCAT('[[Kullanıcı:',user_name,'|',user_name,']]'), COUNT(*) AS "İnceleme" FROM logging
INNER JOIN user ON user.user_id = logging.log_actor
WHERE log_timestamp BETWEEN 20210101000000 AND 20210131000000
AND log_action = "approve-i"
AND log_namespace = 0
GROUP BY logging.log_actor
HAVING COUNT(*)>1
ORDER BY COUNT(*) DESC
LIMIT 10;
SELECT CONCAT('[[Kullanıcı:',user_name,'|',user_name,']]'), COUNT(*) AS "Approve" FROM logging
INNER JOIN user ON user.user_id = logging.log_actor
WHERE log_timestamp BETWEEN 20210101000000 AND 20210131000000
AND log_action = "approve"
AND log_namespace = 0
GROUP BY logging.log_actor
HAVING COUNT(*)>1
ORDER BY COUNT(*) DESC
LIMIT 10;
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.