How do I convert the following query to delete the records that match ProjectID/Project_ID to 14?
select * from Project join Project_Assigned
where Project.Project_ID = Project_Assigned.ProjectID
and Project.Project_ID = 14;
The select statement works but when I try to convert it to instead delete the matching records I get ERROR 1064 (42000).
delete * from Project join Project_Assigned
where Project.Project_ID = Project_Assigned.ProjectID
and Project.Project_ID = 14;
Try this