I have a mysql table where I have a column called 'timecreated' with a value of NOW() when it is inserted.
How can I write a MYSQL statement to get rows that were inserted from the past minute?
This is not working:
SELECT *
FROM mytable
WHERE timecreated
> '(NOW() - 60)'
ORDER BY id DESC
LIMIT 0 , 30