I have an error in my following query, it does not like the 2nd part. I have yet tested the "SELECT id FROM ..." all alone and it returns the ID property to erase:
MySQL gives the error message:Code:DELETE FROM `crm_comment` WHERE id_comment in (SELECT id FROM `crm_temps` WHERE crm_temps.salary='yann' and crm_temps.journey='2009-12-04' and crm_temps.id_project='58' )
What could be the problem of my above query?#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 'SELECT id
FROM `crm_temps`
WHERE crm_temps.salary = 'yann'
Bookmarks