Qry Err. SELECT 'X' FROM counter WHERE userIp = '54.159.76.54' AND LEFT(writeday, 13) = '2016-06-29 20'