I'm trying to create an event to delete rows, that the column date
is with the date expired, that is smaller than the current one.
I was trying with the following command:
create event e on schedule every 1 day do delete from Reserve where date < curdate();
But then I tested it by adding a line with a date already passed and changing every 1 day
to every 1 second
But I did not succeed ...
Could someone help me with the correct query for my problem?