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

SQL

x
 
SELECT 
    actor_name,
    COUNT(log_actor) AS manual_accept_count
FROM 
    logging_userindex
JOIN 
    actor_logging ON actor_id = log_actor
WHERE 
    log_type = 'review' 
    AND log_action = 'approve' 
    AND DATEDIFF(NOW(), log_timestamp) < 30 -- 30 Days
    AND actor_name = 'RangersRus' -- Add username
GROUP BY 
    log_actor, actor_name;
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...