SQL
AخA
USE arwiki_p;
SELECT
CONCAT("[[مستخدم:",user_name,"|",user_name,"]]") AS "المستخدم",
SUM(CASE WHEN rev_timestamp BETWEEN 20160801000000 AND 20160901000000 THEN 1 ELSE 0 END) AS recent_user_editcount,
COUNT(rev_id) AS user_editcount
FROM user INNER JOIN revision
ON revision.rev_user = user.user_id
WHERE rev_timestamp >= 20000000000000
GROUP BY user_name
ORDER BY recent_user_editcount DESC
LIMIT 30;
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.