This query is marked as a draft This query has been published by Nehaoua.

SQL

AخA
 
use arwiki_p;
select  CONCAT('[[user:',page_Title,']]') AS 'المقالة المراجعة',
        DATE_FORMAT(log_timestamp, "%d/%m/%Y")  AS 'تاريخ المراجعة',
        CONCAT('[[user:',actor_name,']]') AS ' المراجع'
        ug_group
      
from logging
INNER JOIN actor ON logging.log_actor = actor.actor_id
LEFT JOIN user_groups ON logging.log_actor = user_groups.ug_user
LEFT JOIN page ON logging.log_page = page.page_id
where log_action = "approve-i"
and log_namespace = 0
and page_is_redirect = 0
and log_timestamp > DATE_SUB(NOW(), INTERVAL 1 MONTH)
#and actor_name Like "فيصل"
group by page_title
ORDER BY actor_name DESC
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...