Fork of
مقالات مراجعة حسب المستخدم
by FShbib
This query is marked as a draft
This query has been published
by Nehaoua.
SQL
AخA
use arwiki_p;
select CONCAT('[[user:',actor_name,']]') AS ' المراجع',
CONCAT('[[',page_Title,']]') AS 'المقالة المراجعة',
DATE_FORMAT(log_timestamp, "%d/%m/%Y") AS 'تاريخ المراجعة'
from logging
INNER JOIN actor ON logging.log_actor = actor.actor_id
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.