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

NoSuchKey