解决You can‘t specify target table ... for update in FROM clause

NoSuchKey