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

NoSuchKey