DELETE FROM `client_task`
INNER JOIN `project_task`
ON client_task.taskid=project_task.taskid
WHERE projectid = '2'
I think you can see what i want to do, but i get following 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 'INNER JOIN
project_task
ON client_task.taskid=project_task.taskid ' at line 2
Cant figure out what´s the matter. It´s MySql.