Qry Err. SELECT 'X' FROM counter WHERE userIp = '54.81.205.176' AND LEFT(writeday, 13) = '2016-07-30 13'