mysql - You can't specify target table 'A' for update in FROM clause -


this request

> delete id in (    select > id    left join b on a.id=b.id  > b.id null ) 

when execute have error

you can't specify target table 'a' update in clause

maybe instead?

delete id not in (select distinct b.id b); 

Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -