Fork of Danna-patrol check by אמא של גולן
This query is marked as a draft This query has been published by IKhitron.

SQL

x
 
set @date = "20190512";
use hewiki_p;
select count(*) from logging_userindex join actor
on log_actor = actor_id
where actor_user = 60104
and log_type = "patrol"
and not log_action = "autopatrol"
and log_timestamp like concat(@date, "%")
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...