You can't specify target table 'TABLE_NAME' for update in FROM clause in MySQL
i am trying to rub sub query for update query in MySQL
update TABLE_NAME set ROW=1 where id in (select id from TABLE_NAME where ROW2='')
and got error
You can't specify target table 'TABLE_NAME' for update in FROM clause