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

SQL

x
 
set @date = "20170719"
use hewiki_p;
select * from logging_userindex
where log_user = 60104
and log_type = "patrol"
and not log_action = "autopatrol"
and log_timestamp like concat(@date, "%")
limit 10
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...