Qry Err. SELECT 'X' FROM counter WHERE userIp = '54.81.59.42' AND LEFT(writeday, 13) = '2016-08-24 12'