I have a table containing column image. In image column values are stored like abc.png,xyz.png,agh.png. Now i want to update the column with xyz.png,agh.png. i used following code. but its not working. Please help me. your help would be appreciated.
update table set images=(select REPLACE(images,'45021.jpg',' ') from table where id='6') where id='6'
sql is showing following error : You can't specify target table 'table' for update in FROM clause