I’m using the following query:
SELECT message,timestamp
FROM botlogs.tbllogs
WHERE message like '%Failed to grab car amount
or 0 website%' and timestamp > Subtime('2011-08-01 13:20','0:60')
Although I have a row for 8/1/2011 1:21:53pm, the above query doesn’t return any rows. Why is that?
If I run
select timestamp,message
from botlogs.tbllogs
where message like Failed to grab car amount
or 0 website%' and timestamp < '2011-08-01 13:20' - INTERVAL 180 SECOND
it returns the error from 7/31/2011 9:27:24 pm.
Because:
Try this instead
Or