I have a mysql delete script which gives me an error:
1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LEFT JOIN mall ON mall.m_id = unifo.mids WHERE mallnames = 'My Mall'' at line 2
Delete query:
DELETE FROM unifo
LEFT JOIN mall ON mall.m_id = unifo.mids
WHERE mallnames = 'My Mall' && time_insert < NOW( ) - INTERVAL 25
MINUTE
I cannot find my mistake