So i want to update
my column point
and make it 0 every friday at 15:00
this is my code:
CREATE EVENT updatepoints
ON SCHEDULE
EVERY 1 WEEK
STARTS CURRENT_DATE + INTERVAL 4 - WEEKDAY(CURRENT_DATE) DAY, '15:00:00'
DO
UPDATE people SET point = 0;
I get the error:
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ' '15:00:00' DO UPDATE people SET point = 0' at line 4